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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_cocoa.mm

Issue 7633034: Use Titlebar instead of TitleBar consistently in panels code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback. 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bounds_ = bounds; 84 bounds_ = bounds;
85 NSRect frame = ConvertCoordinatesToCocoa(bounds); 85 NSRect frame = ConvertCoordinatesToCocoa(bounds);
86 [[controller_ window] setFrame:frame display:YES animate:YES]; 86 [[controller_ window] setFrame:frame display:YES animate:YES];
87 } 87 }
88 88
89 void PanelBrowserWindowCocoa::OnPanelExpansionStateChanged( 89 void PanelBrowserWindowCocoa::OnPanelExpansionStateChanged(
90 Panel::ExpansionState expansion_state) { 90 Panel::ExpansionState expansion_state) {
91 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
92 } 92 }
93 93
94 bool PanelBrowserWindowCocoa::ShouldBringUpPanelTitleBar(int mouse_x, 94 bool PanelBrowserWindowCocoa::ShouldBringUpPanelTitlebar(int mouse_x,
95 int mouse_y) const { 95 int mouse_y) const {
96 NOTIMPLEMENTED(); 96 NOTIMPLEMENTED();
97 return false; 97 return false;
98 } 98 }
99 99
100 void PanelBrowserWindowCocoa::ClosePanel() { 100 void PanelBrowserWindowCocoa::ClosePanel() {
101 if (isClosed()) 101 if (isClosed())
102 return; 102 return;
103 103
104 NSWindow* window = [controller_ window]; 104 NSWindow* window = [controller_ window];
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 controller_ = NULL; 167 controller_ = NULL;
168 } 168 }
169 169
170 // NativePanelTesting implementation. 170 // NativePanelTesting implementation.
171 171
172 // static 172 // static
173 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) { 173 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) {
174 NOTIMPLEMENTED(); 174 NOTIMPLEMENTED();
175 return NULL; 175 return NULL;
176 } 176 }
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