Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_BASE_H_ | |
| 6 #define CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_BASE_H_ | |
| 7 | |
| 8 class CommandUpdater; | |
| 9 class Profile; | |
| 10 | |
| 11 namespace chrome { | |
| 12 | |
| 13 class BrowserCommandControllerBase { | |
|
Robert Sesek
2013/01/15 22:27:18
Why split this up? And it's not really a Base clas
Avi (use Gerrit)
2013/01/15 22:35:06
I need to split this because AppController(Mac) ne
Robert Sesek
2013/01/15 22:44:37
Why can't they just be static on the main BrowserC
Avi (use Gerrit)
2013/01/15 22:49:30
It felt awkward to have two random things that App
| |
| 14 public: | |
| 15 // Update commands whose state depends on incognito mode availability. | |
| 16 static void UpdateCommandsForIncognitoAvailability( | |
| 17 CommandUpdater* command_updater, | |
| 18 Profile* profile); | |
| 19 | |
| 20 // Updates the open-file state (Mac Only). | |
| 21 static void UpdateOpenFileState(CommandUpdater* command_updater); | |
| 22 }; | |
| 23 | |
| 24 } // namespace chrome | |
| 25 | |
| 26 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_BASE_H_ | |
| OLD | NEW |