forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverts "Make
lib/ui/{text|window}/...
compatible with `.clang_tidy…
…`." (flutter#48083) Reverts flutter#48000 Initiated by: jonahwilliams This change reverts the following previous change: Original Description: I just ... deleted `text_box.h` as it appears unused and unreferenced? --- Work towards flutter/flutter#134969. All changes were made automatically (i.e. with `--fix`).
- Loading branch information
1 parent
a0a1a1d
commit e4c49da
Showing
7 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef FLUTTER_LIB_UI_TEXT_TEXT_BOX_H_ | ||
#define FLUTTER_LIB_UI_TEXT_TEXT_BOX_H_ | ||
|
||
#include "third_party/dart/runtime/include/dart_api.h" | ||
#include "third_party/skia/include/core/SkRect.h" | ||
#include "third_party/tonic/converter/dart_converter.h" | ||
|
||
namespace flutter { | ||
|
||
enum class TextDirection { | ||
rtl, | ||
ltr, | ||
}; | ||
|
||
struct TextBox { | ||
SkRect rect; | ||
TextDirection direction; | ||
|
||
TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} | ||
}; | ||
|
||
} // namespace flutter | ||
|
||
#endif // FLUTTER_LIB_UI_TEXT_TEXT_BOX_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters