OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ContentSettingsClient_h | 5 #ifndef ContentSettingsClient_h |
6 #define ContentSettingsClient_h | 6 #define ContentSettingsClient_h |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
11 #include "platform/heap/Heap.h" | 11 #include "platform/heap/Heap.h" |
12 #include "wtf/Forward.h" | 12 #include "platform/wtf/Forward.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class ContentSettingCallbacks; | 16 class ContentSettingCallbacks; |
17 class KURL; | 17 class KURL; |
18 class SecurityOrigin; | 18 class SecurityOrigin; |
19 class WebContentSettingsClient; | 19 class WebContentSettingsClient; |
20 | 20 |
21 // This class provides the content settings information which tells | 21 // This class provides the content settings information which tells |
22 // whether each feature is allowed. Most of the methods return the | 22 // whether each feature is allowed. Most of the methods return the |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // This callback is similar, but for plugins. | 93 // This callback is similar, but for plugins. |
94 void DidNotAllowPlugins(); | 94 void DidNotAllowPlugins(); |
95 | 95 |
96 private: | 96 private: |
97 WebContentSettingsClient* client_ = nullptr; | 97 WebContentSettingsClient* client_ = nullptr; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace blink | 100 } // namespace blink |
101 | 101 |
102 #endif // ContentSettingsClient_h | 102 #endif // ContentSettingsClient_h |
OLD | NEW |