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

Side by Side Diff: third_party/WebKit/Source/core/dom/CompositorIdToElementMap.h

Issue 1921503008: Blink CompositorWorker: Use CompositorElementId and CompositorIdToElementMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@elementid
Patch Set: Vend ids via local blink nextCompositorElementId. Created 4 years, 7 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 2016 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 CompositorIdToElementMap_h
6 #define CompositorIdToElementMap_h
7
8 #include "core/CoreExport.h"
9 #include "platform/graphics/CompositorElementId.h"
10 #include "wtf/Allocator.h"
11
12 namespace blink {
13
14 class Element;
15
16 class CORE_EXPORT CompositorIdToElementMap {
17 STATIC_ONLY(CompositorIdToElementMap);
18 public:
19 static void registerElement(Element&);
20 static Element* getById(CompositorElementId);
21 };
22
23 } // namespace blink
24
25
26 #endif // DOMNodeIds_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698