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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/CompositedSelection.h

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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
1 /* 1 /*
2 * Copyright (C) 2015 Google Inc. All rights reserved. 2 * Copyright (C) 2015 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef CompositedSelection_h 31 #ifndef CompositedSelection_h
32 #define CompositedSelection_h 32 #define CompositedSelection_h
33 33
34 #include "core/editing/SelectionType.h" 34 #include "core/editing/SelectionType.h"
35 #include "core/layout/compositing/CompositedSelectionBound.h" 35 #include "core/layout/compositing/CompositedSelectionBound.h"
36 #include "platform/geometry/FloatPoint.h" 36 #include "platform/geometry/FloatPoint.h"
37 #include "platform/graphics/GraphicsLayer.h" 37 #include "platform/graphics/GraphicsLayer.h"
38 #include "wtf/Allocator.h" 38 #include "platform/wtf/Allocator.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 // The active selection region, containing compositing data for the selection 42 // The active selection region, containing compositing data for the selection
43 // end points as well as metadata for the selection region. 43 // end points as well as metadata for the selection region.
44 // See |WebSelection|. 44 // See |WebSelection|.
45 struct CompositedSelection { 45 struct CompositedSelection {
46 STACK_ALLOCATED(); 46 STACK_ALLOCATED();
47 CompositedSelection() : type(kNoSelection) {} 47 CompositedSelection() : type(kNoSelection) {}
48 48
49 SelectionType type; 49 SelectionType type;
50 CompositedSelectionBound start; 50 CompositedSelectionBound start;
51 CompositedSelectionBound end; 51 CompositedSelectionBound end;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // CompositedSelection_h 56 #endif // CompositedSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698