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

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

Issue 2387053002: [cleanup] WebPermissionClient.h is no longer present. (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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 PermissionController_h 5 #ifndef PermissionController_h
6 #define PermissionController_h 6 #define PermissionController_h
7 7
8 #include "core/frame/DOMWindowProperty.h" 8 #include "core/frame/DOMWindowProperty.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/Supplementable.h" 10 #include "platform/Supplementable.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WebPermissionClient;
15
16 class MODULES_EXPORT PermissionController final 14 class MODULES_EXPORT PermissionController final
17 : public GarbageCollectedFinalized<PermissionController>, 15 : public GarbageCollectedFinalized<PermissionController>,
18 public Supplement<LocalFrame>, 16 public Supplement<LocalFrame>,
19 public DOMWindowProperty { 17 public DOMWindowProperty {
20 WTF_MAKE_NONCOPYABLE(PermissionController); 18 WTF_MAKE_NONCOPYABLE(PermissionController);
21 USING_GARBAGE_COLLECTED_MIXIN(PermissionController); 19 USING_GARBAGE_COLLECTED_MIXIN(PermissionController);
22 20
23 public: 21 public:
24 virtual ~PermissionController(); 22 virtual ~PermissionController();
25 23
26 static void provideTo(LocalFrame&, WebPermissionClient*); 24 static void provideTo(LocalFrame&);
27 static PermissionController* from(LocalFrame&); 25 static PermissionController* from(LocalFrame&);
28 static const char* supplementName(); 26 static const char* supplementName();
29 27
30 WebPermissionClient* client() const;
31
32 DECLARE_VIRTUAL_TRACE(); 28 DECLARE_VIRTUAL_TRACE();
33 29
34 private: 30 private:
35 PermissionController(LocalFrame&, WebPermissionClient*); 31 PermissionController(LocalFrame&);
36 32
37 // Inherited from DOMWindowProperty. 33 // Inherited from DOMWindowProperty.
38 void frameDestroyed() override; 34 void frameDestroyed() override;
39
40 WebPermissionClient* m_client;
41 }; 35 };
42 36
43 } // namespace blink 37 } // namespace blink
44 38
45 #endif // PermissionController_h 39 #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