OLD | NEW |
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 return true; | 150 return true; |
151 } | 151 } |
152 | 152 |
153 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( | 153 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
154 WebContents* source) { | 154 WebContents* source) { |
155 return nullptr; | 155 return nullptr; |
156 } | 156 } |
157 | 157 |
158 std::unique_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser( | 158 std::unique_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser( |
159 RenderFrameHost* frame, | 159 RenderFrameHost* frame, |
160 const BluetoothChooser::EventHandler& event_handler) { | 160 const BluetoothChooser::EventHandler& event_handler, |
| 161 bool accept_all_devices) { |
161 return nullptr; | 162 return nullptr; |
162 } | 163 } |
163 | 164 |
164 bool WebContentsDelegate::EmbedsFullscreenWidget() const { | 165 bool WebContentsDelegate::EmbedsFullscreenWidget() const { |
165 return false; | 166 return false; |
166 } | 167 } |
167 | 168 |
168 bool WebContentsDelegate::IsFullscreenForTabOrPending( | 169 bool WebContentsDelegate::IsFullscreenForTabOrPending( |
169 const WebContents* web_contents) const { | 170 const WebContents* web_contents) const { |
170 return false; | 171 return false; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 void WebContentsDelegate::ShowCertificateViewerInDevTools( | 267 void WebContentsDelegate::ShowCertificateViewerInDevTools( |
267 WebContents* web_contents, | 268 WebContents* web_contents, |
268 scoped_refptr<net::X509Certificate> certificate) { | 269 scoped_refptr<net::X509Certificate> certificate) { |
269 } | 270 } |
270 | 271 |
271 void WebContentsDelegate::RequestAppBannerFromDevTools( | 272 void WebContentsDelegate::RequestAppBannerFromDevTools( |
272 content::WebContents* web_contents) { | 273 content::WebContents* web_contents) { |
273 } | 274 } |
274 | 275 |
275 } // namespace content | 276 } // namespace content |
OLD | NEW |