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

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

Issue 335993002: Convert MIDI permission requests to use WebContents in preparation for switching the code to using … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 "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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 content::RenderFrameHost* render_frame_host, 119 content::RenderFrameHost* render_frame_host,
120 content::DesktopNotificationDelegate* delegate, 120 content::DesktopNotificationDelegate* delegate,
121 base::Closure* cancel_callback) OVERRIDE; 121 base::Closure* cancel_callback) OVERRIDE;
122 virtual void RequestGeolocationPermission( 122 virtual void RequestGeolocationPermission(
123 content::WebContents* web_contents, 123 content::WebContents* web_contents,
124 int bridge_id, 124 int bridge_id,
125 const GURL& requesting_frame, 125 const GURL& requesting_frame,
126 bool user_gesture, 126 bool user_gesture,
127 base::Callback<void(bool)> result_callback, 127 base::Callback<void(bool)> result_callback,
128 base::Closure* cancel_callback) OVERRIDE; 128 base::Closure* cancel_callback) OVERRIDE;
129 virtual void RequestMidiSysExPermission(
130 content::WebContents* web_contents,
131 int bridge_id,
132 const GURL& requesting_frame,
133 bool user_gesture,
134 base::Callback<void(bool)> result_callback,
135 base::Closure* cancel_callback) OVERRIDE;
129 virtual bool CanCreateWindow(const GURL& opener_url, 136 virtual bool CanCreateWindow(const GURL& opener_url,
130 const GURL& opener_top_level_frame_url, 137 const GURL& opener_top_level_frame_url,
131 const GURL& source_origin, 138 const GURL& source_origin,
132 WindowContainerType container_type, 139 WindowContainerType container_type,
133 const GURL& target_url, 140 const GURL& target_url,
134 const content::Referrer& referrer, 141 const content::Referrer& referrer,
135 WindowOpenDisposition disposition, 142 WindowOpenDisposition disposition,
136 const blink::WebWindowFeatures& features, 143 const blink::WebWindowFeatures& features,
137 bool user_gesture, 144 bool user_gesture,
138 bool opener_suppressed, 145 bool opener_suppressed,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 184 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
178 185
179 JniDependencyFactory* native_factory_; 186 JniDependencyFactory* native_factory_;
180 187
181 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 188 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
182 }; 189 };
183 190
184 } // namespace android_webview 191 } // namespace android_webview
185 192
186 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 193 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.cc ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698