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

Side by Side Diff: chrome/browser/ui/browser_command_controller_base.h

Issue 11906008: Make Mac menu code obey incognito availability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 7 years, 11 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698