| 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 | |
| 10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 11 | 10 |
| 12 struct WebPreferences; | |
| 13 | |
| 14 namespace content { | |
| 15 class WebContents; | |
| 16 } | |
| 17 | |
| 18 namespace android_webview { | 11 namespace android_webview { |
| 19 | 12 |
| 20 class AwSettings; | 13 class AwSettings; |
| 21 | 14 |
| 22 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { | 15 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { |
| 23 public: | 16 public: |
| 24 AwWebPreferencesPopulaterImpl(); | 17 AwWebPreferencesPopulaterImpl(); |
| 25 virtual ~AwWebPreferencesPopulaterImpl(); | 18 virtual ~AwWebPreferencesPopulaterImpl(); |
| 26 | 19 |
| 27 // AwWebPreferencesPopulater | 20 // AwWebPreferencesPopulater |
| 28 virtual void PopulateFor(content::WebContents* web_contents, | 21 virtual void PopulateFor(content::WebContents* web_contents, |
| 29 WebPreferences* web_prefs) OVERRIDE; | 22 content::WebPreferences* web_prefs) OVERRIDE; |
| 30 }; | 23 }; |
| 31 | 24 |
| 32 } | 25 } // namespace android_webview |
| 33 | 26 |
| 34 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 27 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
| OLD | NEW |