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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_gtk.h

Issue 8775022: Add Panel::SetPanelBoundsInstantly for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 9 years, 1 month 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
Index: chrome/browser/ui/panels/panel_browser_window_gtk.h
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.h b/chrome/browser/ui/panels/panel_browser_window_gtk.h
index d34b51863f4ac8b6e9cd32826880ad7600ca1b06..6344d58bd0b389cc63949903b20b21a446600453 100644
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h
@@ -70,6 +70,7 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk,
virtual void ShowPanelInactive() OVERRIDE;
virtual gfx::Rect GetPanelBounds() const OVERRIDE;
virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE;
+ virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE;
virtual void ClosePanel() OVERRIDE;
virtual void ActivatePanel() OVERRIDE;
virtual void DeactivatePanel() OVERRIDE;
@@ -118,6 +119,8 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk,
void EndDrag(bool canceled);
void CleanupDragDrop();
+ void SetBoundsInternal(const gfx::Rect& bounds, bool animate);
+
GdkRectangle GetTitlebarRectForDrawAttention() const;
CHROMEGTK_CALLBACK_1(PanelBrowserWindowGtk, gboolean,

Powered by Google App Engine
This is Rietveld 408576698