| 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 |
| 73 void TabContentsDelegate::SetTabContentBlocked( | 79 void TabContentsDelegate::SetTabContentBlocked( |
| 74 TabContents* contents, bool blocked) { | 80 TabContents* contents, bool blocked) { |
| 75 } | 81 } |
| 76 | 82 |
| 77 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { | 83 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { |
| 78 } | 84 } |
| 79 | 85 |
| 80 int TabContentsDelegate::GetExtraRenderViewHeight() const { | 86 int TabContentsDelegate::GetExtraRenderViewHeight() const { |
| 81 return 0; | 87 return 0; |
| 82 } | 88 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 167 } |
| 162 | 168 |
| 163 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { | 169 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { |
| 164 } | 170 } |
| 165 | 171 |
| 166 void TabContentsDelegate::CommitMatchPreview(TabContents* source) { | 172 void TabContentsDelegate::CommitMatchPreview(TabContents* source) { |
| 167 } | 173 } |
| 168 | 174 |
| 169 TabContentsDelegate::~TabContentsDelegate() { | 175 TabContentsDelegate::~TabContentsDelegate() { |
| 170 } | 176 } |
| OLD | NEW |