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 "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const std::string& partition_id, | 140 const std::string& partition_id, |
141 SessionStorageNamespace* session_storage_namespace) { | 141 SessionStorageNamespace* session_storage_namespace) { |
142 return true; | 142 return true; |
143 } | 143 } |
144 | 144 |
145 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( | 145 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
146 WebContents* source) { | 146 WebContents* source) { |
147 return nullptr; | 147 return nullptr; |
148 } | 148 } |
149 | 149 |
| 150 scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser( |
| 151 WebContents* web_contents, |
| 152 const BluetoothChooser::EventHandler& event_handler, |
| 153 const GURL& origin) { |
| 154 return nullptr; |
| 155 } |
| 156 |
150 bool WebContentsDelegate::EmbedsFullscreenWidget() const { | 157 bool WebContentsDelegate::EmbedsFullscreenWidget() const { |
151 return false; | 158 return false; |
152 } | 159 } |
153 | 160 |
154 bool WebContentsDelegate::IsFullscreenForTabOrPending( | 161 bool WebContentsDelegate::IsFullscreenForTabOrPending( |
155 const WebContents* web_contents) const { | 162 const WebContents* web_contents) const { |
156 return false; | 163 return false; |
157 } | 164 } |
158 | 165 |
159 blink::WebDisplayMode WebContentsDelegate::GetDisplayMode( | 166 blink::WebDisplayMode WebContentsDelegate::GetDisplayMode( |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 return false; | 234 return false; |
228 } | 235 } |
229 | 236 |
230 SecurityStyle WebContentsDelegate::GetSecurityStyle( | 237 SecurityStyle WebContentsDelegate::GetSecurityStyle( |
231 WebContents* web_contents, | 238 WebContents* web_contents, |
232 SecurityStyleExplanations* security_style_explanations) { | 239 SecurityStyleExplanations* security_style_explanations) { |
233 return content::SECURITY_STYLE_UNKNOWN; | 240 return content::SECURITY_STYLE_UNKNOWN; |
234 } | 241 } |
235 | 242 |
236 } // namespace content | 243 } // namespace content |
OLD | NEW |