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

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

Issue 459953002: Migrate geolocation permissions to the new common permission class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 2 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void ShowDesktopNotification( 117 virtual void ShowDesktopNotification(
118 const content::ShowDesktopNotificationHostMsgParams& params, 118 const content::ShowDesktopNotificationHostMsgParams& params,
119 content::RenderFrameHost* render_frame_host, 119 content::RenderFrameHost* render_frame_host,
120 scoped_ptr<content::DesktopNotificationDelegate> delegate, 120 scoped_ptr<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 const base::Callback<void(bool)>& result_callback) OVERRIDE;
128 base::Closure* cancel_callback) OVERRIDE; 128 virtual void CancelGeolocationPermissionRequest(
129 content::WebContents* web_contents,
130 int bridge_id,
131 const GURL& requesting_frame) OVERRIDE;
129 virtual void RequestMidiSysExPermission( 132 virtual void RequestMidiSysExPermission(
130 content::WebContents* web_contents, 133 content::WebContents* web_contents,
131 int bridge_id, 134 int bridge_id,
132 const GURL& requesting_frame, 135 const GURL& requesting_frame,
133 bool user_gesture, 136 bool user_gesture,
134 base::Callback<void(bool)> result_callback, 137 base::Callback<void(bool)> result_callback,
135 base::Closure* cancel_callback) OVERRIDE; 138 base::Closure* cancel_callback) OVERRIDE;
136 virtual void RequestProtectedMediaIdentifierPermission( 139 virtual void RequestProtectedMediaIdentifierPermission(
137 content::WebContents* web_contents, 140 content::WebContents* web_contents,
138 const GURL& origin, 141 const GURL& origin,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 188 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
186 189
187 JniDependencyFactory* native_factory_; 190 JniDependencyFactory* native_factory_;
188 191
189 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 192 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
190 }; 193 };
191 194
192 } // namespace android_webview 195 } // namespace android_webview
193 196
194 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 197 #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') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698