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

Side by Side 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 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 #include "chrome/browser/ui/panels/panel_browser_window_cocoa.h" 5 #include "chrome/browser/ui/panels/panel_browser_window_cocoa.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" 9 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h"
10 #include "chrome/browser/ui/panels/panel.h" 10 #include "chrome/browser/ui/panels/panel.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 Browser* PanelBrowserWindowCocoa::GetPanelBrowser() const { 161 Browser* PanelBrowserWindowCocoa::GetPanelBrowser() const {
162 return browser(); 162 return browser();
163 } 163 }
164 164
165 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { 165 void PanelBrowserWindowCocoa::DestroyPanelBrowser() {
166 [controller_ close]; 166 [controller_ close];
167 controller_ = NULL; 167 controller_ = NULL;
168 } 168 }
169 169
170 gfx::Size PanelBrowserWindowCocoa::GetNonClientAreaExtent() const {
171 NOTIMPLEMENTED();
172 return gfx::Size();
173 }
174
175 int PanelBrowserWindowCocoa::GetRestoredHeight() const {
176 NOTIMPLEMENTED();
177 return 0;
178 }
179
180 void PanelBrowserWindowCocoa::SetRestoredHeight(int height) {
181 NOTIMPLEMENTED();
182 }
183
170 NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() { 184 NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() {
171 return this; 185 return this;
172 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698