| OLD | NEW |
| 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/LocalFrameLifecycleObserver.h" | 8 #include "core/frame/LocalFrameLifecycleObserver.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/Supplementable.h" | 10 #include "platform/Supplementable.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 static const char* supplementName(); | 27 static const char* supplementName(); |
| 28 | 28 |
| 29 WebPermissionClient* client() const; | 29 WebPermissionClient* client() const; |
| 30 | 30 |
| 31 DECLARE_VIRTUAL_TRACE(); | 31 DECLARE_VIRTUAL_TRACE(); |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 PermissionController(LocalFrame&, WebPermissionClient*); | 34 PermissionController(LocalFrame&, WebPermissionClient*); |
| 35 | 35 |
| 36 // Inherited from LocalFrameLifecycleObserver. | 36 // Inherited from LocalFrameLifecycleObserver. |
| 37 virtual void willDetachFrameHost() override; | 37 void willDetachFrameHost() override; |
| 38 | 38 |
| 39 WebPermissionClient* m_client; | 39 WebPermissionClient* m_client; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace blink | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // PermissionController_h | 44 #endif // PermissionController_h |
| OLD | NEW |