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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_cocoa.mm

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_cocoa.mm
===================================================================
--- chrome/browser/ui/panels/panel_browser_window_cocoa.mm (revision 94932)
+++ chrome/browser/ui/panels/panel_browser_window_cocoa.mm (working copy)
@@ -74,10 +74,20 @@
ShowPanel();
}
+gfx::Rect PanelBrowserWindowCocoa::GetPanelRestoredBounds() const {
+ NOTIMPLEMENTED();
+ return bounds_;
+}
+
gfx::Rect PanelBrowserWindowCocoa::GetPanelBounds() const {
return bounds_;
}
+void PanelBrowserWindowCocoa::SetPanelRestoredBounds(const gfx::Rect& bounds) {
+ NOTIMPLEMENTED();
+ SetPanelBounds(bounds);
+}
+
void PanelBrowserWindowCocoa::SetPanelBounds(const gfx::Rect& bounds) {
bounds_ = bounds;
NSRect frame = ConvertCoordinatesToCocoa(bounds);
@@ -156,6 +166,11 @@
controller_ = NULL;
}
+gfx::Size PanelBrowserWindowCocoa::GetNonClientAreaSize() const {
+ NOTIMPLEMENTED();
+ return gfx::Size();
+}
+
NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() {
return this;
}

Powered by Google App Engine
This is Rietveld 408576698