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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 void WebContentsDelegate::Detach(WebContents* web_contents) { | 183 void WebContentsDelegate::Detach(WebContents* web_contents) { |
184 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); | 184 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); |
185 attached_contents_.erase(web_contents); | 185 attached_contents_.erase(web_contents); |
186 } | 186 } |
187 | 187 |
188 gfx::Size WebContentsDelegate::GetSizeForNewRenderView( | 188 gfx::Size WebContentsDelegate::GetSizeForNewRenderView( |
189 const WebContents* web_contents) const { | 189 const WebContents* web_contents) const { |
190 return gfx::Size(); | 190 return gfx::Size(); |
191 } | 191 } |
192 | 192 |
| 193 void WebContentsDelegate::RequestPresentationMode() {} |
| 194 |
193 } // namespace content | 195 } // namespace content |
OLD | NEW |