| 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 #include "gfx/rect.h" | 7 #include "gfx/rect.h" |
| 8 | 8 |
| 9 void TabContentsDelegate::DetachContents(TabContents* source) { | 9 void TabContentsDelegate::DetachContents(TabContents* source) { |
| 10 } | 10 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 TabContentsDelegate::CreateExtensionFunctionDispatcher( | 63 TabContentsDelegate::CreateExtensionFunctionDispatcher( |
| 64 RenderViewHost* render_view_host, | 64 RenderViewHost* render_view_host, |
| 65 const std::string& extension_id) { | 65 const std::string& extension_id) { |
| 66 return NULL; | 66 return NULL; |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool TabContentsDelegate::TakeFocus(bool reverse) { | 69 bool TabContentsDelegate::TakeFocus(bool reverse) { |
| 70 return false; | 70 return false; |
| 71 } | 71 } |
| 72 | 72 |
| 73 void TabContentsDelegate::Activate() { | |
| 74 } | |
| 75 | |
| 76 void TabContentsDelegate::Deactivate(){ | |
| 77 } | |
| 78 | |
| 79 void TabContentsDelegate::SetTabContentBlocked( | 73 void TabContentsDelegate::SetTabContentBlocked( |
| 80 TabContents* contents, bool blocked) { | 74 TabContents* contents, bool blocked) { |
| 81 } | 75 } |
| 82 | 76 |
| 83 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { | 77 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { |
| 84 } | 78 } |
| 85 | 79 |
| 86 int TabContentsDelegate::GetExtraRenderViewHeight() const { | 80 int TabContentsDelegate::GetExtraRenderViewHeight() const { |
| 87 return 0; | 81 return 0; |
| 88 } | 82 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 } | 161 } |
| 168 | 162 |
| 169 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { | 163 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { |
| 170 } | 164 } |
| 171 | 165 |
| 172 void TabContentsDelegate::CommitMatchPreview(TabContents* source) { | 166 void TabContentsDelegate::CommitMatchPreview(TabContents* source) { |
| 173 } | 167 } |
| 174 | 168 |
| 175 TabContentsDelegate::~TabContentsDelegate() { | 169 TabContentsDelegate::~TabContentsDelegate() { |
| 176 } | 170 } |
| OLD | NEW |