OLD | NEW |
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/browser_main_posix.h" | 5 #include "chrome/browser/browser_main_posix.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 } | 38 } |
39 | 39 |
40 void RecordBrowserStartupTime() { | 40 void RecordBrowserStartupTime() { |
41 // Not implemented on Mac for now. | 41 // Not implemented on Mac for now. |
42 } | 42 } |
43 | 43 |
44 void WarnAboutMinimumSystemRequirements() { | 44 void WarnAboutMinimumSystemRequirements() { |
45 // Nothing to check for on Mac right now. | 45 // Nothing to check for on Mac right now. |
46 } | 46 } |
47 | 47 |
| 48 void ShowMissingLocaleMessageBox() { |
| 49 // Not called on Mac because we load the locale files differently. |
| 50 } |
| 51 |
48 // From browser_main_win.h, stubs until we figure out the right thing... | 52 // From browser_main_win.h, stubs until we figure out the right thing... |
49 | 53 |
50 int DoUninstallTasks(bool chrome_still_running) { | 54 int DoUninstallTasks(bool chrome_still_running) { |
51 return content::RESULT_CODE_NORMAL_EXIT; | 55 return content::RESULT_CODE_NORMAL_EXIT; |
52 } | 56 } |
53 | 57 |
54 int HandleIconsCommands(const CommandLine& parsed_command_line) { | 58 int HandleIconsCommands(const CommandLine& parsed_command_line) { |
55 return 0; | 59 return 0; |
56 } | 60 } |
57 | 61 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 crypto::EnsureNSPRInit(); | 148 crypto::EnsureNSPRInit(); |
145 } | 149 } |
146 } | 150 } |
147 }; | 151 }; |
148 | 152 |
149 // static | 153 // static |
150 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( | 154 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( |
151 const MainFunctionParams& parameters) { | 155 const MainFunctionParams& parameters) { |
152 return new BrowserMainPartsMac(parameters); | 156 return new BrowserMainPartsMac(parameters); |
153 } | 157 } |
OLD | NEW |