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

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

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, 4 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
Index: chrome/browser/ui/panels/panel_browser_window_gtk.cc
===================================================================
--- chrome/browser/ui/panels/panel_browser_window_gtk.cc (revision 94932)
+++ chrome/browser/ui/panels/panel_browser_window_gtk.cc (working copy)
@@ -109,10 +109,20 @@
ShowInactive();
}
+gfx::Rect PanelBrowserWindowGtk::GetPanelRestoredBounds() const {
+ NOTIMPLEMENTED();
+ return bounds_;
+}
+
gfx::Rect PanelBrowserWindowGtk::GetPanelBounds() const {
return bounds_;
}
+void PanelBrowserWindowGtk::SetPanelRestoredBounds(const gfx::Rect& bounds) {
+ NOTIMPLEMENTED();
+ SetBounds(bounds);
+}
+
void PanelBrowserWindowGtk::SetPanelBounds(const gfx::Rect& bounds) {
SetBounds(bounds);
}
@@ -177,6 +187,11 @@
DestroyBrowser();
}
+gfx::Size PanelBrowserWindowGtk::GetNonClientAreaSize() const {
+ NOTIMPLEMENTED();
+ return gfx::Size();
+}
+
NativePanelTesting* PanelBrowserWindowGtk::GetNativePanelTesting() {
return this;
}

Powered by Google App Engine
This is Rietveld 408576698