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

Side by Side Diff: chrome/browser/ui/views/toolbar/browser_actions_container.h

Issue 114153003: Add an extension bubble explaining which extensions are in dev mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_
7 7
8 #include "chrome/browser/extensions/extension_keybinding_registry.h" 8 #include "chrome/browser/extensions/extension_keybinding_registry.h"
9 #include "chrome/browser/extensions/extension_toolbar_model.h" 9 #include "chrome/browser/extensions/extension_toolbar_model.h"
10 #include "chrome/browser/ui/views/chrome_views_export.h" 10 #include "chrome/browser/ui/views/chrome_views_export.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const views::View* chevron() const { return chevron_; } 137 const views::View* chevron() const { return chevron_; }
138 138
139 // Returns the profile this container is associated with. 139 // Returns the profile this container is associated with.
140 Profile* profile() const { return profile_; } 140 Profile* profile() const { return profile_; }
141 141
142 // Get a particular browser action view. 142 // Get a particular browser action view.
143 BrowserActionView* GetBrowserActionViewAt(int index) { 143 BrowserActionView* GetBrowserActionViewAt(int index) {
144 return browser_action_views_[index]; 144 return browser_action_views_[index];
145 } 145 }
146 146
147 // Retrieve the BrowserActionView for |extension|. 147 // Retrieve the BrowserActionView for a certain extension |action|.
148 BrowserActionView* GetBrowserActionView(ExtensionAction* action); 148 BrowserActionView* GetBrowserActionView(ExtensionAction* action);
149 149
150 // Update the views to reflect the state of the browser action icons. 150 // Update the views to reflect the state of the browser action icons.
151 void RefreshBrowserActionViews(); 151 void RefreshBrowserActionViews();
152 152
153 // Sets up the browser action view vector. 153 // Sets up the browser action view vector.
154 void CreateBrowserActionViews(); 154 void CreateBrowserActionViews();
155 155
156 // Delete all browser action views. 156 // Delete all browser action views.
157 void DeleteBrowserActionViews(); 157 void DeleteBrowserActionViews();
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 base::WeakPtrFactory<BrowserActionsContainer> task_factory_; 378 base::WeakPtrFactory<BrowserActionsContainer> task_factory_;
379 379
380 // Handles delayed showing of the overflow menu when hovering. 380 // Handles delayed showing of the overflow menu when hovering.
381 base::WeakPtrFactory<BrowserActionsContainer> show_menu_task_factory_; 381 base::WeakPtrFactory<BrowserActionsContainer> show_menu_task_factory_;
382 382
383 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); 383 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer);
384 }; 384 };
385 385
386 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ 386 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698