| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const GURL& target_url, | 129 const GURL& target_url, |
| 130 const std::string& partition_id, | 130 const std::string& partition_id, |
| 131 SessionStorageNamespace* session_storage_namespace) { | 131 SessionStorageNamespace* session_storage_namespace) { |
| 132 return true; | 132 return true; |
| 133 } | 133 } |
| 134 | 134 |
| 135 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() { | 135 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() { |
| 136 return NULL; | 136 return NULL; |
| 137 } | 137 } |
| 138 | 138 |
| 139 bool WebContentsDelegate::EmbedsFullscreenWidget() const { |
| 140 return false; |
| 141 } |
| 142 |
| 139 bool WebContentsDelegate::IsFullscreenForTabOrPending( | 143 bool WebContentsDelegate::IsFullscreenForTabOrPending( |
| 140 const WebContents* web_contents) const { | 144 const WebContents* web_contents) const { |
| 141 return false; | 145 return false; |
| 142 } | 146 } |
| 143 | 147 |
| 144 content::ColorChooser* WebContentsDelegate::OpenColorChooser( | 148 content::ColorChooser* WebContentsDelegate::OpenColorChooser( |
| 145 WebContents* web_contents, SkColor color) { | 149 WebContents* web_contents, SkColor color) { |
| 146 return NULL; | 150 return NULL; |
| 147 } | 151 } |
| 148 | 152 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 178 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); | 182 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); |
| 179 attached_contents_.erase(web_contents); | 183 attached_contents_.erase(web_contents); |
| 180 } | 184 } |
| 181 | 185 |
| 182 gfx::Size WebContentsDelegate::GetSizeForNewRenderView( | 186 gfx::Size WebContentsDelegate::GetSizeForNewRenderView( |
| 183 const WebContents* web_contents) const { | 187 const WebContents* web_contents) const { |
| 184 return gfx::Size(); | 188 return gfx::Size(); |
| 185 } | 189 } |
| 186 | 190 |
| 187 } // namespace content | 191 } // namespace content |
| OLD | NEW |