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

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

Issue 9500003: Add a button to exit managed mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 7 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 // Updates commands that affect the bookmark bar. 1144 // Updates commands that affect the bookmark bar.
1145 void UpdateCommandsForBookmarkBar(); 1145 void UpdateCommandsForBookmarkBar();
1146 1146
1147 // Set the preference that indicates that the home page has been changed. 1147 // Set the preference that indicates that the home page has been changed.
1148 void MarkHomePageAsChanged(PrefService* pref_service); 1148 void MarkHomePageAsChanged(PrefService* pref_service);
1149 1149
1150 // Update commands whose state depends on whether the window is in fullscreen 1150 // Update commands whose state depends on whether the window is in fullscreen
1151 // mode. 1151 // mode.
1152 void UpdateCommandsForFullscreenMode(bool is_fullscreen); 1152 void UpdateCommandsForFullscreenMode(bool is_fullscreen);
1153 1153
1154 // Update commands whose state depends on whether multiple profiles are
1155 // allowed.
1156 void UpdateCommandsForMultipleProfiles();
1157
1154 // Updates the printing command state. 1158 // Updates the printing command state.
1155 void UpdatePrintingState(int content_restrictions); 1159 void UpdatePrintingState(int content_restrictions);
1156 1160
1157 // Updates the save-page-as command state. 1161 // Updates the save-page-as command state.
1158 void UpdateSaveAsState(int content_restrictions); 1162 void UpdateSaveAsState(int content_restrictions);
1159 1163
1160 // Updates the open-file state (Mac Only). 1164 // Updates the open-file state (Mac Only).
1161 void UpdateOpenFileState(); 1165 void UpdateOpenFileState();
1162 1166
1163 // Ask the Reload/Stop button to change its icon, and update the Stop command 1167 // Ask the Reload/Stop button to change its icon, and update the Stop command
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 bool window_has_shown_; 1490 bool window_has_shown_;
1487 1491
1488 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1492 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1489 // before DidEndColorChooser is called. 1493 // before DidEndColorChooser is called.
1490 scoped_ptr<content::ColorChooser> color_chooser_; 1494 scoped_ptr<content::ColorChooser> color_chooser_;
1491 1495
1492 DISALLOW_COPY_AND_ASSIGN(Browser); 1496 DISALLOW_COPY_AND_ASSIGN(Browser);
1493 }; 1497 };
1494 1498
1495 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1499 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698