| 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" |
| 8 |
| 7 void TabContentsDelegate::DetachContents(TabContents* source) { | 9 void TabContentsDelegate::DetachContents(TabContents* source) { |
| 8 } | 10 } |
| 9 | 11 |
| 10 bool TabContentsDelegate::IsPopup(const TabContents* source) const { | 12 bool TabContentsDelegate::IsPopup(const TabContents* source) const { |
| 11 return false; | 13 return false; |
| 12 } | 14 } |
| 13 | 15 |
| 14 TabContents* TabContentsDelegate::GetConstrainingContents(TabContents* source) { | 16 TabContents* TabContentsDelegate::GetConstrainingContents(TabContents* source) { |
| 15 return source; | 17 return source; |
| 16 } | 18 } |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 162 } |
| 161 | 163 |
| 162 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { | 164 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { |
| 163 } | 165 } |
| 164 | 166 |
| 165 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { | 167 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { |
| 166 } | 168 } |
| 167 | 169 |
| 168 TabContentsDelegate::~TabContentsDelegate() { | 170 TabContentsDelegate::~TabContentsDelegate() { |
| 169 } | 171 } |
| OLD | NEW |