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

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, 3 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 #import "chrome/browser/ui/cocoa/browser_window_utils.h" 10 #import "chrome/browser/ui/cocoa/browser_window_utils.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { 189 void PanelBrowserWindowCocoa::DestroyPanelBrowser() {
190 [controller_ close]; 190 [controller_ close];
191 } 191 }
192 192
193 void PanelBrowserWindowCocoa::didCloseNativeWindow() { 193 void PanelBrowserWindowCocoa::didCloseNativeWindow() {
194 DCHECK(!isClosed()); 194 DCHECK(!isClosed());
195 panel_->manager()->Remove(panel_.get()); 195 panel_->manager()->Remove(panel_.get());
196 controller_ = NULL; 196 controller_ = NULL;
197 } 197 }
198 gfx::Size PanelBrowserWindowCocoa::GetNonClientAreaExtent() const {
199 NOTIMPLEMENTED();
200 return gfx::Size();
201 }
202
203 int PanelBrowserWindowCocoa::GetRestoredHeight() const {
204 NOTIMPLEMENTED();
205 return 0;
206 }
207
208 void PanelBrowserWindowCocoa::SetRestoredHeight(int height) {
209 NOTIMPLEMENTED();
210 }
211
198 // NativePanelTesting implementation. 212 // NativePanelTesting implementation.
199 213
200 // static 214 // static
201 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) { 215 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) {
202 NOTIMPLEMENTED(); 216 NOTIMPLEMENTED();
203 return NULL; 217 return NULL;
204 } 218 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa.h ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698