| 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" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 int render_view_id) OVERRIDE; | 69 int render_view_id) OVERRIDE; |
| 70 virtual bool AllowSetCookie(const GURL& url, | 70 virtual bool AllowSetCookie(const GURL& url, |
| 71 const GURL& first_party, | 71 const GURL& first_party, |
| 72 const std::string& cookie_line, | 72 const std::string& cookie_line, |
| 73 content::ResourceContext* context, | 73 content::ResourceContext* context, |
| 74 int render_process_id, | 74 int render_process_id, |
| 75 int render_view_id, | 75 int render_view_id, |
| 76 net::CookieOptions* options) OVERRIDE; | 76 net::CookieOptions* options) OVERRIDE; |
| 77 virtual bool AllowWorkerDatabase( | 77 virtual bool AllowWorkerDatabase( |
| 78 const GURL& url, | 78 const GURL& url, |
| 79 const string16& name, | 79 const base::string16& name, |
| 80 const string16& display_name, | 80 const base::string16& display_name, |
| 81 unsigned long estimated_size, | 81 unsigned long estimated_size, |
| 82 content::ResourceContext* context, | 82 content::ResourceContext* context, |
| 83 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 83 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 84 virtual bool AllowWorkerFileSystem( | 84 virtual bool AllowWorkerFileSystem( |
| 85 const GURL& url, | 85 const GURL& url, |
| 86 content::ResourceContext* context, | 86 content::ResourceContext* context, |
| 87 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 87 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 88 virtual bool AllowWorkerIndexedDB( | 88 virtual bool AllowWorkerIndexedDB( |
| 89 const GURL& url, | 89 const GURL& url, |
| 90 const string16& name, | 90 const base::string16& name, |
| 91 content::ResourceContext* context, | 91 content::ResourceContext* context, |
| 92 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 92 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 93 virtual content::QuotaPermissionContext* | 93 virtual content::QuotaPermissionContext* |
| 94 CreateQuotaPermissionContext() OVERRIDE; | 94 CreateQuotaPermissionContext() OVERRIDE; |
| 95 virtual void AllowCertificateError( | 95 virtual void AllowCertificateError( |
| 96 int render_process_id, | 96 int render_process_id, |
| 97 int render_view_id, | 97 int render_view_id, |
| 98 int cert_error, | 98 int cert_error, |
| 99 const net::SSLInfo& ssl_info, | 99 const net::SSLInfo& ssl_info, |
| 100 const GURL& request_url, | 100 const GURL& request_url, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 171 | 171 |
| 172 JniDependencyFactory* native_factory_; | 172 JniDependencyFactory* native_factory_; |
| 173 | 173 |
| 174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 } // namespace android_webview | 177 } // namespace android_webview |
| 178 | 178 |
| 179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |