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

Side by Side Diff: content/public/browser/web_contents_delegate.cc

Issue 1672103002: Pass the frame instead of the WebContents through RunBluetoothChooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doc-bubble-lifetimes
Patch Set: Fix Android Created 4 years, 10 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
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 #include "content/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 SessionStorageNamespace* session_storage_namespace) { 147 SessionStorageNamespace* session_storage_namespace) {
148 return true; 148 return true;
149 } 149 }
150 150
151 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( 151 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager(
152 WebContents* source) { 152 WebContents* source) {
153 return nullptr; 153 return nullptr;
154 } 154 }
155 155
156 scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser( 156 scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser(
157 WebContents* web_contents, 157 RenderFrameHost* frame,
158 const BluetoothChooser::EventHandler& event_handler, 158 const BluetoothChooser::EventHandler& event_handler) {
159 const url::Origin& origin) {
160 return nullptr; 159 return nullptr;
161 } 160 }
162 161
163 bool WebContentsDelegate::EmbedsFullscreenWidget() const { 162 bool WebContentsDelegate::EmbedsFullscreenWidget() const {
164 return false; 163 return false;
165 } 164 }
166 165
167 bool WebContentsDelegate::IsFullscreenForTabOrPending( 166 bool WebContentsDelegate::IsFullscreenForTabOrPending(
168 const WebContents* web_contents) const { 167 const WebContents* web_contents) const {
169 return false; 168 return false;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 void WebContentsDelegate::ShowCertificateViewerInDevTools( 256 void WebContentsDelegate::ShowCertificateViewerInDevTools(
258 WebContents* web_contents, 257 WebContents* web_contents,
259 int cert_id) { 258 int cert_id) {
260 } 259 }
261 260
262 bool WebContentsDelegate::RequestAppBanner(content::WebContents* web_contents) { 261 bool WebContentsDelegate::RequestAppBanner(content::WebContents* web_contents) {
263 return false; 262 return false;
264 } 263 }
265 264
266 } // namespace content 265 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/shell/browser/blink_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698