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

Unified Diff: chrome/browser/gtk/tabs/tab_renderer_gtk.h

Issue 159436: gtk: Use the requested window bounds when determining the location of the sou... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/tabs/tab_renderer_gtk.h
===================================================================
--- chrome/browser/gtk/tabs/tab_renderer_gtk.h (revision 21711)
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.h (working copy)
@@ -163,6 +163,9 @@
// Returns the non-mirrored (LTR) bounds of this tab.
gfx::Rect GetNonMirroredBounds(GtkWidget* parent) const;
+ // Returns the requested bounds of the tab.
+ gfx::Rect GetRequisition() const;
+
// Sets the bounds of the tab.
void SetBounds(const gfx::Rect& bounds);
@@ -325,6 +328,10 @@
// The bounds of this Tab.
gfx::Rect bounds_;
+ // The requested bounds of this tab. These bounds are relative to the
+ // tabstrip.
+ gfx::Rect requisition_;
+
// Hover animation.
scoped_ptr<SlideAnimation> hover_animation_;
« no previous file with comments | « chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698