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

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

Issue 1518543002: Adds MD ink ripple animations to buttons within location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MD ink ripple animations to buttons within location bar (missing member init) Created 4 years, 10 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_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Returns the view to which the bookmark bubble should be anchored. 75 // Returns the view to which the bookmark bubble should be anchored.
76 views::View* GetBookmarkBubbleAnchor(); 76 views::View* GetBookmarkBubbleAnchor();
77 77
78 // Returns the view to which the "Save credit card" bubble should be anchored. 78 // Returns the view to which the "Save credit card" bubble should be anchored.
79 views::View* GetSaveCreditCardBubbleAnchor(); 79 views::View* GetSaveCreditCardBubbleAnchor();
80 80
81 // Returns the view to which the Translate bubble should be anchored. 81 // Returns the view to which the Translate bubble should be anchored.
82 views::View* GetTranslateBubbleAnchor(); 82 views::View* GetTranslateBubbleAnchor();
83 83
84 // Adds |anchor_view| as an observer of |bubble_widget| to track its
85 // visibility.
86 void OnBubbleCreatedForAnchor(views::View* anchor_view,
87 views::Widget* bubble_widget);
88
84 // Executes |command| registered by |extension|. 89 // Executes |command| registered by |extension|.
85 void ExecuteExtensionCommand(const extensions::Extension* extension, 90 void ExecuteExtensionCommand(const extensions::Extension* extension,
86 const extensions::Command& command); 91 const extensions::Command& command);
87 92
88 // Returns the maximum width the browser actions container can have. 93 // Returns the maximum width the browser actions container can have.
89 int GetMaxBrowserActionsWidth() const; 94 int GetMaxBrowserActionsWidth() const;
90 95
91 // Accessors. 96 // Accessors.
92 Browser* browser() const { return browser_; } 97 Browser* browser() const { return browser_; }
93 BrowserActionsContainer* browser_actions() const { return browser_actions_; } 98 BrowserActionsContainer* browser_actions() const { return browser_actions_; }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 224
220 // The display mode used when laying out the toolbar. 225 // The display mode used when laying out the toolbar.
221 DisplayMode display_mode_; 226 DisplayMode display_mode_;
222 227
223 content::NotificationRegistrar registrar_; 228 content::NotificationRegistrar registrar_;
224 229
225 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 230 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
226 }; 231 };
227 232
228 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 233 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698