Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: third_party/WebKit/Source/core/editing/InlineBoxTraversal.h

Issue 2942523003: Introduce Find{Left,Right}BoundaryOfBidiRun() and variations (Closed)
Patch Set: 2017-06-14T17:10:06 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef InlineBoxTraversal_h
6 #define InlineBoxTraversal_h
7
8 #include "platform/wtf/Allocator.h"
9
10 namespace blink {
11
12 class InlineBox;
13
14 // This class provides common traveral functions on list of |InlineBox|.
15 class InlineBoxTraversal final {
16 STATIC_ONLY(InlineBoxTraversal);
17
18 // Find left boundary variations
19 static InlineBox* FindLeftBoundaryOfBidiRunIgnoringLineBreak(
20 const InlineBox&);
21 static InlineBox* FindLeftBoundaryOfEntireBidiRun(const InlineBox&);
22 static InlineBox* FindLeftBoundaryOfEntireBidiRunIgnoringLineBreak(
23 const InlineBox&);
24
25 // Find right boundary variations
26 static InlineBox* FindRightBoundaryOfBidiRunIgnoringLineBreak(
27 const InlineBox&);
28 static InlineBox* FindRightBoundaryOfEntireBidiRun(const InlineBox&);
29 static InlineBox* FindRightBoundaryOfEntireBidiRunIgnoringLineBreak(
30 const InlineBox&);
31 };
32
33 } // namespace blink
34
35 #endif // InlineBoxTraversal_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698