| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 bool WebContentsDelegate::EmbedsFullscreenWidget() const { | 149 bool WebContentsDelegate::EmbedsFullscreenWidget() const { |
| 150 return false; | 150 return false; |
| 151 } | 151 } |
| 152 | 152 |
| 153 bool WebContentsDelegate::IsFullscreenForTabOrPending( | 153 bool WebContentsDelegate::IsFullscreenForTabOrPending( |
| 154 const WebContents* web_contents) const { | 154 const WebContents* web_contents) const { |
| 155 return false; | 155 return false; |
| 156 } | 156 } |
| 157 | 157 |
| 158 blink::WebDisplayMode WebContentsDelegate::GetDisplayMode( |
| 159 const WebContents* web_contents) const { |
| 160 return blink::WebDisplayModeBrowser; |
| 161 } |
| 162 |
| 158 content::ColorChooser* WebContentsDelegate::OpenColorChooser( | 163 content::ColorChooser* WebContentsDelegate::OpenColorChooser( |
| 159 WebContents* web_contents, | 164 WebContents* web_contents, |
| 160 SkColor color, | 165 SkColor color, |
| 161 const std::vector<ColorSuggestion>& suggestions) { | 166 const std::vector<ColorSuggestion>& suggestions) { |
| 162 return nullptr; | 167 return nullptr; |
| 163 } | 168 } |
| 164 | 169 |
| 165 void WebContentsDelegate::RequestMediaAccessPermission( | 170 void WebContentsDelegate::RequestMediaAccessPermission( |
| 166 WebContents* web_contents, | 171 WebContents* web_contents, |
| 167 const MediaStreamRequest& request, | 172 const MediaStreamRequest& request, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 220 |
| 216 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { | 221 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { |
| 217 return false; | 222 return false; |
| 218 } | 223 } |
| 219 | 224 |
| 220 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { | 225 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { |
| 221 return false; | 226 return false; |
| 222 } | 227 } |
| 223 | 228 |
| 224 } // namespace content | 229 } // namespace content |
| OLD | NEW |