| 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 #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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; | 52 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; |
| 53 virtual void GetContainerBounds(gfx::Rect* out) const; | 53 virtual void GetContainerBounds(gfx::Rect* out) const; |
| 54 virtual void SetPageTitle(const std::wstring& title); | 54 virtual void SetPageTitle(const std::wstring& title); |
| 55 virtual void OnTabCrashed(base::TerminationStatus status, | 55 virtual void OnTabCrashed(base::TerminationStatus status, |
| 56 int error_code); | 56 int error_code); |
| 57 virtual void SizeContents(const gfx::Size& size); | 57 virtual void SizeContents(const gfx::Size& size); |
| 58 virtual void Focus(); | 58 virtual void Focus(); |
| 59 virtual void SetInitialFocus(); | 59 virtual void SetInitialFocus(); |
| 60 virtual void StoreFocus(); | 60 virtual void StoreFocus(); |
| 61 virtual void RestoreFocus(); | 61 virtual void RestoreFocus(); |
| 62 virtual void GetViewBounds(gfx::Rect* out) const; |
| 62 | 63 |
| 63 // views::View implementation | 64 // views::View implementation |
| 64 virtual void DidChangeBounds(const gfx::Rect& previous, | 65 virtual void DidChangeBounds(const gfx::Rect& previous, |
| 65 const gfx::Rect& current); | 66 const gfx::Rect& current); |
| 66 | 67 |
| 67 virtual void Paint(gfx::Canvas* canvas); | 68 virtual void Paint(gfx::Canvas* canvas); |
| 68 | 69 |
| 69 // Backend implementation of RenderViewHostDelegate::View. | 70 // Backend implementation of RenderViewHostDelegate::View. |
| 70 virtual void ShowContextMenu(const ContextMenuParams& params); | 71 virtual void ShowContextMenu(const ContextMenuParams& params); |
| 71 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 72 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 gfx::Size size_; | 124 gfx::Size size_; |
| 124 | 125 |
| 125 // Each individual UI for constrained dialogs currently displayed. The | 126 // Each individual UI for constrained dialogs currently displayed. The |
| 126 // objects in this vector are owned by the TabContents, not the view. | 127 // objects in this vector are owned by the TabContents, not the view. |
| 127 std::vector<ConstrainedWindowGtk*> constrained_windows_; | 128 std::vector<ConstrainedWindowGtk*> constrained_windows_; |
| 128 | 129 |
| 129 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); | 130 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 133 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
| OLD | NEW |