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

Side by Side Diff: third_party/WebKit/Source/modules/permissions/PermissionController.h

Issue 2392893002: Remove PermissionController.* files (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/permissions/PermissionController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 PermissionController_h
6 #define PermissionController_h
7
8 #include "core/frame/DOMWindowProperty.h"
9 #include "modules/ModulesExport.h"
10 #include "platform/Supplementable.h"
11
12 namespace blink {
13
14 class WebPermissionClient;
15
16 class MODULES_EXPORT PermissionController final
17 : public GarbageCollectedFinalized<PermissionController>,
18 public Supplement<LocalFrame>,
19 public DOMWindowProperty {
20 WTF_MAKE_NONCOPYABLE(PermissionController);
21 USING_GARBAGE_COLLECTED_MIXIN(PermissionController);
22
23 public:
24 virtual ~PermissionController();
25
26 static void provideTo(LocalFrame&, WebPermissionClient*);
27 static PermissionController* from(LocalFrame&);
28 static const char* supplementName();
29
30 WebPermissionClient* client() const;
31
32 DECLARE_VIRTUAL_TRACE();
33
34 private:
35 PermissionController(LocalFrame&, WebPermissionClient*);
36
37 // Inherited from DOMWindowProperty.
38 void frameDestroyed() override;
39
40 WebPermissionClient* m_client;
41 };
42
43 } // namespace blink
44
45 #endif // PermissionController_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/permissions/PermissionController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698