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_TOUCH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_TOUCH_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_TOUCH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_TOUCH_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); | 49 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); |
50 | 50 |
51 // TabContentsView implementation | 51 // TabContentsView implementation |
52 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; | 52 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; |
53 virtual RenderWidgetHostView* CreateViewForWidget( | 53 virtual RenderWidgetHostView* CreateViewForWidget( |
54 RenderWidgetHost* render_widget_host) OVERRIDE; | 54 RenderWidgetHost* render_widget_host) OVERRIDE; |
55 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 55 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
56 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 56 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
57 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 57 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
58 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 58 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
59 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; | 59 virtual void SetPageTitle(const string16& title) OVERRIDE; |
60 virtual void OnTabCrashed(base::TerminationStatus status, | 60 virtual void OnTabCrashed(base::TerminationStatus status, |
61 int error_code) OVERRIDE; | 61 int error_code) OVERRIDE; |
62 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 62 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
63 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 63 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
64 virtual void Focus() OVERRIDE; | 64 virtual void Focus() OVERRIDE; |
65 virtual void SetInitialFocus() OVERRIDE; | 65 virtual void SetInitialFocus() OVERRIDE; |
66 virtual void StoreFocus() OVERRIDE; | 66 virtual void StoreFocus() OVERRIDE; |
67 virtual void RestoreFocus() OVERRIDE; | 67 virtual void RestoreFocus() OVERRIDE; |
68 virtual bool IsDoingDrag() const OVERRIDE; | 68 virtual bool IsDoingDrag() const OVERRIDE; |
69 virtual void CancelDragAndCloseTab() OVERRIDE; | 69 virtual void CancelDragAndCloseTab() OVERRIDE; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 gfx::Size size_; | 151 gfx::Size size_; |
152 | 152 |
153 // Each individual UI for constrained dialogs currently displayed. The | 153 // Each individual UI for constrained dialogs currently displayed. The |
154 // objects in this vector are owned by the TabContents, not the view. | 154 // objects in this vector are owned by the TabContents, not the view. |
155 std::vector<ConstrainedWindowGtk*> constrained_windows_; | 155 std::vector<ConstrainedWindowGtk*> constrained_windows_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(TabContentsViewTouch); | 157 DISALLOW_COPY_AND_ASSIGN(TabContentsViewTouch); |
158 }; | 158 }; |
159 | 159 |
160 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_TOUCH_H_ | 160 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_TOUCH_H_ |
OLD | NEW |