OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
7 | 7 |
8 #include "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
11 namespace android_webview { | 11 namespace android_webview { |
12 | 12 |
13 class AwSettings; | |
14 | |
15 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { | 13 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { |
16 public: | 14 public: |
17 AwWebPreferencesPopulaterImpl(); | 15 AwWebPreferencesPopulaterImpl(); |
18 ~AwWebPreferencesPopulaterImpl() override; | 16 ~AwWebPreferencesPopulaterImpl() override; |
19 | 17 |
20 // AwWebPreferencesPopulater | 18 // AwWebPreferencesPopulater |
21 void PopulateFor(content::WebContents* web_contents, | 19 void PopulateFor(content::WebContents* web_contents, |
22 content::WebPreferences* web_prefs) override; | 20 content::WebPreferences* web_prefs) override; |
23 }; | 21 }; |
24 | 22 |
25 } // namespace android_webview | 23 } // namespace android_webview |
26 | 24 |
27 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 25 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
OLD | NEW |