Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 11941015: Move OpenItem/ShowItemInFolder from ContentBrowserClient to DownloadManagerDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "content/public/browser/content_browser_client.h" 8 #include "content/public/browser/content_browser_client.h"
9 9
10 #include "android_webview/browser/aw_browser_context.h" 10 #include "android_webview/browser/aw_browser_context.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const GURL& url, 65 const GURL& url,
66 content::ResourceContext* context, 66 content::ResourceContext* context,
67 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; 67 const std::vector<std::pair<int, int> >& render_views) OVERRIDE;
68 virtual bool AllowWorkerIndexedDB( 68 virtual bool AllowWorkerIndexedDB(
69 const GURL& url, 69 const GURL& url,
70 const string16& name, 70 const string16& name,
71 content::ResourceContext* context, 71 content::ResourceContext* context,
72 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; 72 const std::vector<std::pair<int, int> >& render_views) OVERRIDE;
73 virtual content::QuotaPermissionContext* 73 virtual content::QuotaPermissionContext*
74 CreateQuotaPermissionContext() OVERRIDE; 74 CreateQuotaPermissionContext() OVERRIDE;
75 virtual void OpenItem(const FilePath& path) OVERRIDE;
76 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE;
77 virtual void AllowCertificateError( 75 virtual void AllowCertificateError(
78 int render_process_id, 76 int render_process_id,
79 int render_view_id, 77 int render_view_id,
80 int cert_error, 78 int cert_error,
81 const net::SSLInfo& ssl_info, 79 const net::SSLInfo& ssl_info,
82 const GURL& request_url, 80 const GURL& request_url,
83 bool overridable, 81 bool overridable,
84 bool strict_enforcement, 82 bool strict_enforcement,
85 const base::Callback<void(bool)>& callback, 83 const base::Callback<void(bool)>& callback,
86 bool* cancel_request) OVERRIDE; 84 bool* cancel_request) OVERRIDE;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 scoped_ptr<AwBrowserContext> browser_context_; 131 scoped_ptr<AwBrowserContext> browser_context_;
134 132
135 ViewDelegateFactoryFn* view_delegate_factory_; 133 ViewDelegateFactoryFn* view_delegate_factory_;
136 134
137 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 135 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
138 }; 136 };
139 137
140 } // namespace android_webview 138 } // namespace android_webview
141 139
142 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 140 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | chrome/browser/download/download_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698