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

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: Sync 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) { 159 const url::Origin& origin) {
160 return nullptr; 160 return nullptr;
161 } 161 }
162 162
163 bool WebContentsDelegate::EmbedsFullscreenWidget() const { 163 bool WebContentsDelegate::EmbedsFullscreenWidget() const {
164 return false; 164 return false;
165 } 165 }
166 166
167 bool WebContentsDelegate::IsFullscreenForTabOrPending( 167 bool WebContentsDelegate::IsFullscreenForTabOrPending(
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 void WebContentsDelegate::ShowCertificateViewerInDevTools( 257 void WebContentsDelegate::ShowCertificateViewerInDevTools(
258 WebContents* web_contents, 258 WebContents* web_contents,
259 int cert_id) { 259 int cert_id) {
260 } 260 }
261 261
262 bool WebContentsDelegate::RequestAppBanner(content::WebContents* web_contents) { 262 bool WebContentsDelegate::RequestAppBanner(content::WebContents* web_contents) {
263 return false; 263 return false;
264 } 264 }
265 265
266 } // namespace content 266 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698