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

Side by Side Diff: third_party/WebKit/Source/modules/extensions/WindowChrome.h

Issue 2074263002: [Experimental] Fool around with exposing extension bindings via blink Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 WindowChrome_h
6 #define WindowChrome_h
7
8 #include "core/frame/DOMWindowProperty.h"
9 #include "platform/Supplementable.h"
10 #include "platform/heap/Handle.h"
11
12 namespace blink {
13
14 class Chrome;
15 class DOMWindow;
16 class ExecutionContext;
17 class LocalDOMWindow;
18
19 class WindowChrome final
20 : public GarbageCollected<WindowChrome>
21 , public Supplement<LocalDOMWindow>
22 , public DOMWindowProperty {
23 USING_GARBAGE_COLLECTED_MIXIN(WindowChrome);
24
25 public:
26 static WindowChrome& from(LocalDOMWindow&);
27 static Chrome* chromex(DOMWindow&);
28 Chrome* chromex() const;
29
30 DECLARE_TRACE();
31
32 private:
33 explicit WindowChrome(LocalDOMWindow&);
34 static const char* supplementName();
35
36 mutable Member<Chrome> m_chrome;
37 };
38
39 } // namespace blink
40
41 #endif // WindowChrome_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698