| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/tab_contents/tab_contents_delegate.h" | 5 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| 6 | 6 |
| 7 void TabContentsDelegate::DetachContents(TabContents* source) { | 7 void TabContentsDelegate::DetachContents(TabContents* source) { |
| 8 } | 8 } |
| 9 | 9 |
| 10 bool TabContentsDelegate::IsPopup(const TabContents* source) const { | 10 bool TabContentsDelegate::IsPopup(const TabContents* source) const { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 TabContentsDelegate::CreateExtensionFunctionDispatcher( | 61 TabContentsDelegate::CreateExtensionFunctionDispatcher( |
| 62 RenderViewHost* render_view_host, | 62 RenderViewHost* render_view_host, |
| 63 const std::string& extension_id) { | 63 const std::string& extension_id) { |
| 64 return NULL; | 64 return NULL; |
| 65 } | 65 } |
| 66 | 66 |
| 67 bool TabContentsDelegate::TakeFocus(bool reverse) { | 67 bool TabContentsDelegate::TakeFocus(bool reverse) { |
| 68 return false; | 68 return false; |
| 69 } | 69 } |
| 70 | 70 |
| 71 void TabContentsDelegate::Activate() { |
| 72 } |
| 73 |
| 74 void TabContentsDelegate::Deactivate(){ |
| 75 } |
| 76 |
| 71 void TabContentsDelegate::SetTabContentBlocked( | 77 void TabContentsDelegate::SetTabContentBlocked( |
| 72 TabContents* contents, bool blocked) { | 78 TabContents* contents, bool blocked) { |
| 73 } | 79 } |
| 74 | 80 |
| 75 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { | 81 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { |
| 76 } | 82 } |
| 77 | 83 |
| 78 int TabContentsDelegate::GetExtraRenderViewHeight() const { | 84 int TabContentsDelegate::GetExtraRenderViewHeight() const { |
| 79 return 0; | 85 return 0; |
| 80 } | 86 } |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 166 } |
| 161 | 167 |
| 162 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { | 168 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { |
| 163 } | 169 } |
| 164 | 170 |
| 165 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { | 171 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { |
| 166 } | 172 } |
| 167 | 173 |
| 168 TabContentsDelegate::~TabContentsDelegate() { | 174 TabContentsDelegate::~TabContentsDelegate() { |
| 169 } | 175 } |
| OLD | NEW |