Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_touch.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 std::wstring& 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 void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
69 virtual bool IsDoingDrag() const OVERRIDE; 68 virtual bool IsDoingDrag() const OVERRIDE;
70 virtual void CancelDragAndCloseTab() OVERRIDE; 69 virtual void CancelDragAndCloseTab() OVERRIDE;
71 virtual bool IsEventTracking() const OVERRIDE; 70 virtual bool IsEventTracking() const OVERRIDE;
72 virtual void CloseTabAfterEventTracking() OVERRIDE; 71 virtual void CloseTabAfterEventTracking() OVERRIDE;
73 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 72 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
74 73
75 // views::View implementation 74 // views::View implementation
76 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 75 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
77 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 76 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
78 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 77 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 gfx::Size size_; 151 gfx::Size size_;
153 152
154 // Each individual UI for constrained dialogs currently displayed. The 153 // Each individual UI for constrained dialogs currently displayed. The
155 // 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.
156 std::vector<ConstrainedWindowGtk*> constrained_windows_; 155 std::vector<ConstrainedWindowGtk*> constrained_windows_;
157 156
158 DISALLOW_COPY_AND_ASSIGN(TabContentsViewTouch); 157 DISALLOW_COPY_AND_ASSIGN(TabContentsViewTouch);
159 }; 158 };
160 159
161 #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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_manager.cc ('k') | chrome/browser/ui/views/tab_contents/tab_contents_view_touch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698