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

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

Issue 1152613003: Implement sidebar support for extension action popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move SidebarManager to ExtensionSystem and remove notifications Created 5 years, 6 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
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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Possible elements of the Browser window. 131 // Possible elements of the Browser window.
132 enum WindowFeature { 132 enum WindowFeature {
133 FEATURE_NONE = 0, 133 FEATURE_NONE = 0,
134 FEATURE_TITLEBAR = 1, 134 FEATURE_TITLEBAR = 1,
135 FEATURE_TABSTRIP = 2, 135 FEATURE_TABSTRIP = 2,
136 FEATURE_TOOLBAR = 4, 136 FEATURE_TOOLBAR = 4,
137 FEATURE_LOCATIONBAR = 8, 137 FEATURE_LOCATIONBAR = 8,
138 FEATURE_BOOKMARKBAR = 16, 138 FEATURE_BOOKMARKBAR = 16,
139 FEATURE_INFOBAR = 32, 139 FEATURE_INFOBAR = 32,
140 FEATURE_DOWNLOADSHELF = 64, 140 FEATURE_DOWNLOADSHELF = 64,
141 FEATURE_WEBAPPFRAME = 128 141 FEATURE_WEBAPPFRAME = 128,
142 FEATURE_SIDEBAR = 256
142 }; 143 };
143 144
144 // The context for a download blocked notification from 145 // The context for a download blocked notification from
145 // OkToCloseWithInProgressDownloads. 146 // OkToCloseWithInProgressDownloads.
146 enum DownloadClosePreventionType { 147 enum DownloadClosePreventionType {
147 // Browser close is not blocked by download state. 148 // Browser close is not blocked by download state.
148 DOWNLOAD_CLOSE_OK, 149 DOWNLOAD_CLOSE_OK,
149 150
150 // The browser is shutting down and there are active downloads 151 // The browser is shutting down and there are active downloads
151 // that would be cancelled. 152 // that would be cancelled.
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 // The following factory is used for chrome update coalescing. 982 // The following factory is used for chrome update coalescing.
982 base::WeakPtrFactory<Browser> chrome_updater_factory_; 983 base::WeakPtrFactory<Browser> chrome_updater_factory_;
983 984
984 // The following factory is used to close the frame at a later time. 985 // The following factory is used to close the frame at a later time.
985 base::WeakPtrFactory<Browser> weak_factory_; 986 base::WeakPtrFactory<Browser> weak_factory_;
986 987
987 DISALLOW_COPY_AND_ASSIGN(Browser); 988 DISALLOW_COPY_AND_ASSIGN(Browser);
988 }; 989 };
989 990
990 #endif // CHROME_BROWSER_UI_BROWSER_H_ 991 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698