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

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

Issue 6293018: Fix DOMUI pref mode handling of Mac menu items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 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
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 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 #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>
11 #include <string> 11 #include <string>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // Opens a new window and opens the bookmark manager. 270 // Opens a new window and opens the bookmark manager.
271 static void OpenBookmarkManagerWindow(Profile* profile); 271 static void OpenBookmarkManagerWindow(Profile* profile);
272 272
273 #if defined(OS_MACOSX) 273 #if defined(OS_MACOSX)
274 // Open a new window with history/downloads/help/options (needed on Mac when 274 // Open a new window with history/downloads/help/options (needed on Mac when
275 // there are no windows). 275 // there are no windows).
276 static void OpenHistoryWindow(Profile* profile); 276 static void OpenHistoryWindow(Profile* profile);
277 static void OpenDownloadsWindow(Profile* profile); 277 static void OpenDownloadsWindow(Profile* profile);
278 static void OpenHelpWindow(Profile* profile); 278 static void OpenHelpWindow(Profile* profile);
279 static void OpenOptionsWindow(Profile* profile); 279 static void OpenOptionsWindow(Profile* profile);
280 static void OpenClearBrowingDataDialogWindow(Profile* profile);
281 static void OpenImportSettingsDialogWindow(Profile* profile);
280 #endif 282 #endif
281 283
282 // Opens a window with the extensions tab in it - needed by long-lived 284 // Opens a window with the extensions tab in it - needed by long-lived
283 // extensions which may run with no windows open. 285 // extensions which may run with no windows open.
284 static void OpenExtensionsWindow(Profile* profile); 286 static void OpenExtensionsWindow(Profile* profile);
285 287
286 // State Storage and Retrieval for UI /////////////////////////////////////// 288 // State Storage and Retrieval for UI ///////////////////////////////////////
287 289
288 // Save and restore the window position. 290 // Save and restore the window position.
289 std::string GetWindowPlacementKey() const; 291 std::string GetWindowPlacementKey() const;
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 // and we install ourselves as an observer. 1140 // and we install ourselves as an observer.
1139 TabRestoreService* tab_restore_service_; 1141 TabRestoreService* tab_restore_service_;
1140 1142
1141 scoped_ptr<InstantController> instant_; 1143 scoped_ptr<InstantController> instant_;
1142 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1144 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1143 1145
1144 DISALLOW_COPY_AND_ASSIGN(Browser); 1146 DISALLOW_COPY_AND_ASSIGN(Browser);
1145 }; 1147 };
1146 1148
1147 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1149 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698