OLD | NEW |
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 "base/sys_string_conversions.h" | 7 #include "base/sys_string_conversions.h" |
8 #include "chrome/app/chrome_dll_resource.h" | 8 #include "chrome/app/chrome_dll_resource.h" |
9 #include "chrome/browser/bookmarks/bookmark_utils.h" | 9 #include "chrome/browser/bookmarks/bookmark_utils.h" |
10 #include "chrome/browser/cocoa/browser_window_cocoa.h" | 10 #include "chrome/browser/cocoa/browser_window_cocoa.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 void BrowserWindowCocoa::ShowNewProfileDialog() { | 273 void BrowserWindowCocoa::ShowNewProfileDialog() { |
274 NOTIMPLEMENTED(); | 274 NOTIMPLEMENTED(); |
275 } | 275 } |
276 | 276 |
277 void BrowserWindowCocoa::ShowRepostFormWarningDialog( | 277 void BrowserWindowCocoa::ShowRepostFormWarningDialog( |
278 TabContents* tab_contents) { | 278 TabContents* tab_contents) { |
279 NOTIMPLEMENTED(); | 279 NOTIMPLEMENTED(); |
280 } | 280 } |
281 | 281 |
282 void BrowserWindowCocoa::ShowHistoryTooNewDialog() { | 282 void BrowserWindowCocoa::ShowProfileErrorDialog(int message_id) { |
283 NOTIMPLEMENTED(); | 283 NOTIMPLEMENTED(); |
284 } | 284 } |
285 | 285 |
286 void BrowserWindowCocoa::ShowThemeInstallBubble() { | 286 void BrowserWindowCocoa::ShowThemeInstallBubble() { |
287 ThemeInstallBubbleView::Show(window_); | 287 ThemeInstallBubbleView::Show(window_); |
288 } | 288 } |
289 | 289 |
290 // We allow closing the window here since the real quit decision on Mac is made | 290 // We allow closing the window here since the real quit decision on Mac is made |
291 // in [AppController quit:]. | 291 // in [AppController quit:]. |
292 void BrowserWindowCocoa::ConfirmBrowserCloseWithPendingDownloads() { | 292 void BrowserWindowCocoa::ConfirmBrowserCloseWithPendingDownloads() { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 break; | 406 break; |
407 } | 407 } |
408 } | 408 } |
409 | 409 |
410 void BrowserWindowCocoa::DestroyBrowser() { | 410 void BrowserWindowCocoa::DestroyBrowser() { |
411 [controller_ destroyBrowser]; | 411 [controller_ destroyBrowser]; |
412 | 412 |
413 // at this point the controller is dead (autoreleased), so | 413 // at this point the controller is dead (autoreleased), so |
414 // make sure we don't try to reference it any more. | 414 // make sure we don't try to reference it any more. |
415 } | 415 } |
OLD | NEW |