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

Side by Side Diff: chrome/browser/browser_window_cocoa.mm

Issue 20424: Stub a function for Mac to get it to compile with my recent change. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « chrome/browser/browser_window_cocoa.h ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/gfx/rect.h" 5 #include "base/gfx/rect.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "chrome/browser/browser_window_cocoa.h" 7 #include "chrome/browser/browser_window_cocoa.h"
8 #include "chrome/browser/browser_window_controller.h" 8 #include "chrome/browser/browser_window_controller.h"
9 9
10 BrowserWindowCocoa::BrowserWindowCocoa(BrowserWindowController* controller, 10 BrowserWindowCocoa::BrowserWindowCocoa(BrowserWindowController* controller,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 gfx::Rect BrowserWindowCocoa::GetRootWindowResizerRect() const { 90 gfx::Rect BrowserWindowCocoa::GetRootWindowResizerRect() const {
91 return gfx::Rect(); 91 return gfx::Rect();
92 } 92 }
93 93
94 LocationBar* BrowserWindowCocoa::GetLocationBar() const { 94 LocationBar* BrowserWindowCocoa::GetLocationBar() const {
95 return [controller_ locationBar]; 95 return [controller_ locationBar];
96 } 96 }
97 97
98 void BrowserWindowCocoa::SetFocusToLocationBar() {
99 NOTIMPLEMENTED();
100 }
101
98 void BrowserWindowCocoa::UpdateStopGoState(bool is_loading) { 102 void BrowserWindowCocoa::UpdateStopGoState(bool is_loading) {
99 NOTIMPLEMENTED(); 103 NOTIMPLEMENTED();
100 } 104 }
101 105
102 void BrowserWindowCocoa::UpdateToolbar(TabContents* contents, 106 void BrowserWindowCocoa::UpdateToolbar(TabContents* contents,
103 bool should_restore_state) { 107 bool should_restore_state) {
104 [controller_ updateToolbarWithContents:contents 108 [controller_ updateToolbarWithContents:contents
105 shouldRestoreState:should_restore_state ? YES : NO]; 109 shouldRestoreState:should_restore_state ? YES : NO];
106 } 110 }
107 111
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void* parent_window) { 172 void* parent_window) {
169 NOTIMPLEMENTED(); 173 NOTIMPLEMENTED();
170 } 174 }
171 175
172 void BrowserWindowCocoa::DestroyBrowser() { 176 void BrowserWindowCocoa::DestroyBrowser() {
173 [controller_ destroyBrowser]; 177 [controller_ destroyBrowser];
174 178
175 // at this point the controller is dead (autoreleased), so 179 // at this point the controller is dead (autoreleased), so
176 // make sure we don't try to reference it any more. 180 // make sure we don't try to reference it any more.
177 } 181 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_window_cocoa.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698