| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 int render_process_id, | 74 int render_process_id, |
| 75 int render_frame_id, | 75 int render_frame_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 base::string16& name, | 79 const base::string16& name, |
| 80 const base::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 void RequestFileSystemAccessSync( |
| 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, |
| 88 base::Callback<void(bool)> callback) OVERRIDE; |
| 88 virtual bool AllowWorkerIndexedDB( | 89 virtual bool AllowWorkerIndexedDB( |
| 89 const GURL& url, | 90 const GURL& url, |
| 90 const base::string16& name, | 91 const base::string16& name, |
| 91 content::ResourceContext* context, | 92 content::ResourceContext* context, |
| 92 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 93 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 93 virtual content::QuotaPermissionContext* | 94 virtual content::QuotaPermissionContext* |
| 94 CreateQuotaPermissionContext() OVERRIDE; | 95 CreateQuotaPermissionContext() OVERRIDE; |
| 95 virtual void AllowCertificateError( | 96 virtual void AllowCertificateError( |
| 96 int render_process_id, | 97 int render_process_id, |
| 97 int render_frame_id, | 98 int render_frame_id, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 190 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 190 | 191 |
| 191 JniDependencyFactory* native_factory_; | 192 JniDependencyFactory* native_factory_; |
| 192 | 193 |
| 193 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 194 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 } // namespace android_webview | 197 } // namespace android_webview |
| 197 | 198 |
| 198 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 199 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |