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

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

Issue 7983027: Typo fix, since we use screens not screeens. (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_window_controller_cocoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 105 }
106 106
107 void PanelBrowserWindowCocoa::OnPanelExpansionStateChanged( 107 void PanelBrowserWindowCocoa::OnPanelExpansionStateChanged(
108 Panel::ExpansionState expansion_state) { 108 Panel::ExpansionState expansion_state) {
109 int height; // New height of the Panel in screen coordinates. 109 int height; // New height of the Panel in screen coordinates.
110 switch (expansion_state) { 110 switch (expansion_state) {
111 case Panel::EXPANDED: 111 case Panel::EXPANDED:
112 height = restored_height_; 112 height = restored_height_;
113 break; 113 break;
114 case Panel::TITLE_ONLY: 114 case Panel::TITLE_ONLY:
115 height = [controller_ titlebarHeightInScreeenCoordinates]; 115 height = [controller_ titlebarHeightInScreenCoordinates];
116 break; 116 break;
117 case Panel::MINIMIZED: 117 case Panel::MINIMIZED:
118 height = 3; // TODO(dimich) merge with GTK patch which defines it better. 118 height = 3; // TODO(dimich) merge with GTK patch which defines it better.
119 break; 119 break;
120 default: 120 default:
121 NOTREACHED(); 121 NOTREACHED();
122 height = restored_height_; 122 height = restored_height_;
123 break; 123 break;
124 } 124 }
125 125
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 void NativePanelTestingCocoa::SetMousePositionForMinimizeRestore( 330 void NativePanelTestingCocoa::SetMousePositionForMinimizeRestore(
331 const gfx::Point& hover_point) { 331 const gfx::Point& hover_point) {
332 NOTIMPLEMENTED(); 332 NOTIMPLEMENTED();
333 } 333 }
334 334
335 int NativePanelTestingCocoa::TitleOnlyHeight() const { 335 int NativePanelTestingCocoa::TitleOnlyHeight() const {
336 NOTIMPLEMENTED(); 336 NOTIMPLEMENTED();
337 return -1; 337 return -1;
338 } 338 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_window_controller_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698