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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_views.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_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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 std::wstring& 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 void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
68 virtual bool IsDoingDrag() const OVERRIDE; 67 virtual bool IsDoingDrag() const OVERRIDE;
69 virtual void CancelDragAndCloseTab() OVERRIDE; 68 virtual void CancelDragAndCloseTab() OVERRIDE;
70 virtual bool IsEventTracking() const; 69 virtual bool IsEventTracking() const;
71 virtual void CloseTabAfterEventTracking(); 70 virtual void CloseTabAfterEventTracking();
72 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 71 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
73 72
74 // Implementation of RenderViewHostDelegate::View. 73 // Implementation of RenderViewHostDelegate::View.
75 virtual void CreateNewWindow( 74 virtual void CreateNewWindow(
76 int route_id, 75 int route_id,
77 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; 76 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 base::OneShotTimer<TabContentsViewViews> close_tab_timer_; 161 base::OneShotTimer<TabContentsViewViews> close_tab_timer_;
163 162
164 // 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
165 // accessible when un-parented. 164 // accessible when un-parented.
166 views::FocusManager* focus_manager_; 165 views::FocusManager* focus_manager_;
167 166
168 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); 167 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews);
169 }; 168 };
170 169
171 #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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698