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

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

Issue 1809813002: [Extensions] Show a "refresh" bubble when needed with click-to-script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 4 years, 9 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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 void RemoveAllViews() override; 232 void RemoveAllViews() override;
233 void Redraw(bool order_changed) override; 233 void Redraw(bool order_changed) override;
234 void ResizeAndAnimate(gfx::Tween::Type tween_type, 234 void ResizeAndAnimate(gfx::Tween::Type tween_type,
235 int target_width, 235 int target_width,
236 bool suppress_chevron) override; 236 bool suppress_chevron) override;
237 void SetChevronVisibility(bool chevron_visible) override; 237 void SetChevronVisibility(bool chevron_visible) override;
238 int GetWidth(GetWidthTime get_width_time) const override; 238 int GetWidth(GetWidthTime get_width_time) const override;
239 bool IsAnimating() const override; 239 bool IsAnimating() const override;
240 void StopAnimating() override; 240 void StopAnimating() override;
241 int GetChevronWidth() const override; 241 int GetChevronWidth() const override;
242 void ShowToolbarActionBubble(
243 scoped_ptr<ToolbarActionsBarBubbleDelegate> controller) override;
242 void ShowExtensionMessageBubble( 244 void ShowExtensionMessageBubble(
243 scoped_ptr<extensions::ExtensionMessageBubbleController> controller, 245 scoped_ptr<extensions::ExtensionMessageBubbleController> controller,
244 ToolbarActionViewController* anchor_action) override; 246 ToolbarActionViewController* anchor_action) override;
245 247
246 // views::WidgetObserver: 248 // views::WidgetObserver:
247 void OnWidgetClosing(views::Widget* widget) override; 249 void OnWidgetClosing(views::Widget* widget) override;
248 void OnWidgetDestroying(views::Widget* widget) override; 250 void OnWidgetDestroying(views::Widget* widget) override;
249 251
250 views::BubbleDelegateView* active_bubble() { return active_bubble_; } 252 views::BubbleDelegateView* active_bubble() { return active_bubble_; }
251 253
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // is none. 333 // is none.
332 scoped_ptr<DropPosition> drop_position_; 334 scoped_ptr<DropPosition> drop_position_;
333 335
334 // The extension bubble that is actively showing, if any. 336 // The extension bubble that is actively showing, if any.
335 views::BubbleDelegateView* active_bubble_; 337 views::BubbleDelegateView* active_bubble_;
336 338
337 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); 339 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer);
338 }; 340 };
339 341
340 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ 342 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h ('k') | chrome/browser/ui/views/toolbar/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698