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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorElementId.h

Issue 2443633002: Avoid element id collisions with the visual viewport (Closed)
Patch Set: fix typo. Created 4 years, 2 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CompositorElementId_h 5 #ifndef CompositorElementId_h
6 #define CompositorElementId_h 6 #define CompositorElementId_h
7 7
8 #include "cc/animation/element_id.h" 8 #include "cc/animation/element_id.h"
9 #include "platform/PlatformExport.h" 9 #include "platform/PlatformExport.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 enum class CompositorSubElementId { Primary, Scroll, LinkHighlight }; 13 enum class CompositorSubElementId { Primary, Scroll, Viewport, LinkHighlight };
14 14
15 using CompositorElementId = cc::ElementId; 15 using CompositorElementId = cc::ElementId;
16 16
17 CompositorElementId PLATFORM_EXPORT 17 CompositorElementId PLATFORM_EXPORT
18 createCompositorElementId(int domNodeId, CompositorSubElementId); 18 createCompositorElementId(int domNodeId, CompositorSubElementId);
19 19
20 } // namespace blink 20 } // namespace blink
21 21
22 #endif // CompositorElementId_h 22 #endif // CompositorElementId_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698