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

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

Issue 754473003: [Extensions Toolbar Mac] More cleanup of BrowserActionsController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/scoped_observer.h" 10 #include "base/scoped_observer.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // The toolbar actions. 172 // The toolbar actions.
173 ToolbarActions toolbar_actions_; 173 ToolbarActions toolbar_actions_;
174 174
175 ScopedObserver<extensions::ExtensionToolbarModel, 175 ScopedObserver<extensions::ExtensionToolbarModel,
176 extensions::ExtensionToolbarModel::Observer> model_observer_; 176 extensions::ExtensionToolbarModel::Observer> model_observer_;
177 177
178 // True if we should suppress layout, such as when we are creating or 178 // True if we should suppress layout, such as when we are creating or
179 // adjusting a lot of actions at once. 179 // adjusting a lot of actions at once.
180 bool suppress_layout_; 180 bool suppress_layout_;
181 181
182 // True if we should suppress animation; we typically do this e.g. when 182 // True if we should suppress animation; we do this when first creating the
183 // switching tabs changes the state of the icons. 183 // toolbar, and also when switching tabs changes the state of the icons.
184 bool suppress_animation_; 184 bool suppress_animation_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBar); 186 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBar);
187 }; 187 };
188 188
189 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ 189 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698