| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ | 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ |
| 7 | 7 |
| 8 class RenderViewHost; | 8 class RenderViewHost; |
| 9 class TabContents; | 9 class TabContents; |
| 10 class TabContentsContainer; | 10 class TabContentsContainer; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 // Tells the container to update less frequently during resizing operations | 29 // Tells the container to update less frequently during resizing operations |
| 30 // so performance is better. | 30 // so performance is better. |
| 31 virtual void SetFastResize(bool fast_resize) = 0; | 31 virtual void SetFastResize(bool fast_resize) = 0; |
| 32 | 32 |
| 33 // Tells the container that the RenderViewHost for the attached TabContents | 33 // Tells the container that the RenderViewHost for the attached TabContents |
| 34 // has changed and it should update focus. | 34 // has changed and it should update focus. |
| 35 virtual void RenderViewHostChanged(RenderViewHost* old_host, | 35 virtual void RenderViewHostChanged(RenderViewHost* old_host, |
| 36 RenderViewHost* new_host) = 0; | 36 RenderViewHost* new_host) = 0; |
| 37 | 37 |
| 38 // Tells the container that |tab_contents| got the focus. |
| 39 virtual void TabContentsFocused(TabContents* tab_contents) = 0; |
| 40 |
| 38 // Retrieves the views::View that hosts the TabContents. | 41 // Retrieves the views::View that hosts the TabContents. |
| 39 virtual views::View* GetView() = 0; | 42 virtual views::View* GetView() = 0; |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ | 45 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_H_ |
| OLD | NEW |