OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 | 49 |
50 // Overridden from TabContentsView: | 50 // Overridden from TabContentsView: |
51 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; | 51 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; |
52 virtual RenderWidgetHostView* CreateViewForWidget( | 52 virtual RenderWidgetHostView* CreateViewForWidget( |
53 RenderWidgetHost* render_widget_host) OVERRIDE; | 53 RenderWidgetHost* render_widget_host) OVERRIDE; |
54 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 54 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
55 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 55 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
56 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 56 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
57 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 57 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
58 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; | 58 virtual void SetPageTitle(const string16& title) OVERRIDE; |
59 virtual void OnTabCrashed(base::TerminationStatus status, | 59 virtual void OnTabCrashed(base::TerminationStatus status, |
60 int error_code) OVERRIDE; | 60 int error_code) OVERRIDE; |
61 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 61 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
62 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 62 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
63 virtual void Focus() OVERRIDE; | 63 virtual void Focus() OVERRIDE; |
64 virtual void SetInitialFocus() OVERRIDE; | 64 virtual void SetInitialFocus() OVERRIDE; |
65 virtual void StoreFocus() OVERRIDE; | 65 virtual void StoreFocus() OVERRIDE; |
66 virtual void RestoreFocus() OVERRIDE; | 66 virtual void RestoreFocus() OVERRIDE; |
67 virtual bool IsDoingDrag() const OVERRIDE; | 67 virtual bool IsDoingDrag() const OVERRIDE; |
68 virtual void CancelDragAndCloseTab() OVERRIDE; | 68 virtual void CancelDragAndCloseTab() OVERRIDE; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 base::OneShotTimer<TabContentsViewViews> close_tab_timer_; | 161 base::OneShotTimer<TabContentsViewViews> close_tab_timer_; |
162 | 162 |
163 // The FocusManager associated with this tab. Stored as it is not directly | 163 // The FocusManager associated with this tab. Stored as it is not directly |
164 // accessible when un-parented. | 164 // accessible when un-parented. |
165 views::FocusManager* focus_manager_; | 165 views::FocusManager* focus_manager_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); | 167 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); |
168 }; | 168 }; |
169 | 169 |
170 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 170 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
OLD | NEW |