OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_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/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "content/public/browser/content_browser_client.h" | 12 #include "content/public/browser/content_browser_client.h" |
13 | 13 |
14 namespace net { | |
15 class NetLog; | |
16 } | |
benm (inactive)
2014/09/09 14:18:07
needed?
mnaganov (inactive)
2014/09/09 14:48:18
Removed, thanks!
| |
17 | |
14 namespace android_webview { | 18 namespace android_webview { |
15 | 19 |
16 class AwBrowserContext; | 20 class AwBrowserContext; |
17 class JniDependencyFactory; | 21 class JniDependencyFactory; |
18 | 22 |
19 class AwContentBrowserClient : public content::ContentBrowserClient { | 23 class AwContentBrowserClient : public content::ContentBrowserClient { |
20 public: | 24 public: |
21 // This is what AwContentBrowserClient::GetAcceptLangs uses. | 25 // This is what AwContentBrowserClient::GetAcceptLangs uses. |
22 static std::string GetAcceptLangsImpl(); | 26 static std::string GetAcceptLangsImpl(); |
23 | 27 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 187 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
184 | 188 |
185 JniDependencyFactory* native_factory_; | 189 JniDependencyFactory* native_factory_; |
186 | 190 |
187 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 191 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
188 }; | 192 }; |
189 | 193 |
190 } // namespace android_webview | 194 } // namespace android_webview |
191 | 195 |
192 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 196 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |