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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_view_gtk.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_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 55 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
56 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; 56 virtual void SetPageTitle(const std::wstring& title) OVERRIDE;
57 virtual void OnTabCrashed(base::TerminationStatus status, 57 virtual void OnTabCrashed(base::TerminationStatus status,
58 int error_code) OVERRIDE; 58 int error_code) OVERRIDE;
59 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 59 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
61 virtual void Focus() OVERRIDE; 61 virtual void Focus() OVERRIDE;
62 virtual void SetInitialFocus() OVERRIDE; 62 virtual void SetInitialFocus() OVERRIDE;
63 virtual void StoreFocus() OVERRIDE; 63 virtual void StoreFocus() OVERRIDE;
64 virtual void RestoreFocus() OVERRIDE; 64 virtual void RestoreFocus() OVERRIDE;
65 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
66 virtual bool IsDoingDrag() const OVERRIDE; 65 virtual bool IsDoingDrag() const OVERRIDE;
67 virtual void CancelDragAndCloseTab() OVERRIDE; 66 virtual void CancelDragAndCloseTab() OVERRIDE;
68 virtual bool IsEventTracking() const OVERRIDE; 67 virtual bool IsEventTracking() const OVERRIDE;
69 virtual void CloseTabAfterEventTracking() OVERRIDE; 68 virtual void CloseTabAfterEventTracking() OVERRIDE;
70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 69 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
71 70
72 // Backend implementation of RenderViewHostDelegate::View. 71 // Backend implementation of RenderViewHostDelegate::View.
73 virtual void CreateNewWindow( 72 virtual void CreateNewWindow(
74 int route_id, 73 int route_id,
75 const ViewHostMsg_CreateWindow_Params& params); 74 const ViewHostMsg_CreateWindow_Params& params);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 scoped_ptr<TabContentsDragSource> drag_source_; 163 scoped_ptr<TabContentsDragSource> drag_source_;
165 164
166 // The size we want the tab contents view to be. We keep this in a separate 165 // The size we want the tab contents view to be. We keep this in a separate
167 // variable because resizing in GTK+ is async. 166 // variable because resizing in GTK+ is async.
168 gfx::Size requested_size_; 167 gfx::Size requested_size_;
169 168
170 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 169 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
171 }; 170 };
172 171
173 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 172 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698