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

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, 4 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void ShowDesktopNotification( 116 virtual void ShowDesktopNotification(
117 const content::ShowDesktopNotificationHostMsgParams& params, 117 const content::ShowDesktopNotificationHostMsgParams& params,
118 content::RenderFrameHost* render_frame_host, 118 content::RenderFrameHost* render_frame_host,
119 scoped_ptr<content::DesktopNotificationDelegate> delegate, 119 scoped_ptr<content::DesktopNotificationDelegate> delegate,
120 base::Closure* cancel_callback) OVERRIDE; 120 base::Closure* cancel_callback) OVERRIDE;
121 virtual void RequestGeolocationPermission( 121 virtual void RequestGeolocationPermission(
122 content::WebContents* web_contents, 122 content::WebContents* web_contents,
123 int bridge_id, 123 int bridge_id,
124 const GURL& requesting_frame, 124 const GURL& requesting_frame,
125 bool user_gesture, 125 bool user_gesture,
126 base::Callback<void(bool)> result_callback, 126 const base::Callback<void(bool)> result_callback) OVERRIDE;
Michael van Ouwerkerk 2014/08/13 10:01:10 Why const? It's not a reference.
Miguel Garcia 2014/08/13 13:18:12 This can in fact be a const ref. Done
127 base::Closure* cancel_callback) OVERRIDE;
128 virtual void RequestMidiSysExPermission( 127 virtual void RequestMidiSysExPermission(
129 content::WebContents* web_contents, 128 content::WebContents* web_contents,
130 int bridge_id, 129 int bridge_id,
131 const GURL& requesting_frame, 130 const GURL& requesting_frame,
132 bool user_gesture, 131 bool user_gesture,
133 base::Callback<void(bool)> result_callback, 132 base::Callback<void(bool)> result_callback,
134 base::Closure* cancel_callback) OVERRIDE; 133 base::Closure* cancel_callback) OVERRIDE;
135 virtual void RequestProtectedMediaIdentifierPermission( 134 virtual void RequestProtectedMediaIdentifierPermission(
136 content::WebContents* web_contents, 135 content::WebContents* web_contents,
137 const GURL& origin, 136 const GURL& origin,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 187 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
189 188
190 JniDependencyFactory* native_factory_; 189 JniDependencyFactory* native_factory_;
191 190
192 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 191 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
193 }; 192 };
194 193
195 } // namespace android_webview 194 } // namespace android_webview
196 195
197 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 196 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698