| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 int render_process_id, | 72 int render_process_id, |
| 73 int render_frame_id, | 73 int render_frame_id, |
| 74 net::CookieOptions* options) OVERRIDE; | 74 net::CookieOptions* options) OVERRIDE; |
| 75 virtual bool AllowWorkerDatabase( | 75 virtual bool AllowWorkerDatabase( |
| 76 const GURL& url, | 76 const GURL& url, |
| 77 const base::string16& name, | 77 const base::string16& name, |
| 78 const base::string16& display_name, | 78 const base::string16& display_name, |
| 79 unsigned long estimated_size, | 79 unsigned long estimated_size, |
| 80 content::ResourceContext* context, | 80 content::ResourceContext* context, |
| 81 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 81 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 82 virtual bool AllowWorkerFileSystem( | 82 virtual void AllowWorkerFileSystem( |
| 83 const GURL& url, | 83 const GURL& url, |
| 84 content::ResourceContext* context, | 84 content::ResourceContext* context, |
| 85 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 85 const std::vector<std::pair<int, int> >& render_frames, |
| 86 base::Callback<void(bool)> callback) OVERRIDE; |
| 86 virtual bool AllowWorkerIndexedDB( | 87 virtual bool AllowWorkerIndexedDB( |
| 87 const GURL& url, | 88 const GURL& url, |
| 88 const base::string16& name, | 89 const base::string16& name, |
| 89 content::ResourceContext* context, | 90 content::ResourceContext* context, |
| 90 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 91 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 91 virtual content::QuotaPermissionContext* | 92 virtual content::QuotaPermissionContext* |
| 92 CreateQuotaPermissionContext() OVERRIDE; | 93 CreateQuotaPermissionContext() OVERRIDE; |
| 93 virtual void AllowCertificateError( | 94 virtual void AllowCertificateError( |
| 94 int render_process_id, | 95 int render_process_id, |
| 95 int render_frame_id, | 96 int render_frame_id, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 188 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 188 | 189 |
| 189 JniDependencyFactory* native_factory_; | 190 JniDependencyFactory* native_factory_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 192 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace android_webview | 195 } // namespace android_webview |
| 195 | 196 |
| 196 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 197 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |