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

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

Issue 2008763002: [Extensions UI] Remove all traces of the chevron (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 7 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 <memory> 10 #include <memory>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void OnToolbarActionViewDragDone() override; 205 void OnToolbarActionViewDragDone() override;
206 views::MenuButton* GetOverflowReferenceView() override; 206 views::MenuButton* GetOverflowReferenceView() override;
207 207
208 // ToolbarActionsBarDelegate: 208 // ToolbarActionsBarDelegate:
209 void AddViewForAction(ToolbarActionViewController* action, 209 void AddViewForAction(ToolbarActionViewController* action,
210 size_t index) override; 210 size_t index) override;
211 void RemoveViewForAction(ToolbarActionViewController* action) override; 211 void RemoveViewForAction(ToolbarActionViewController* action) override;
212 void RemoveAllViews() override; 212 void RemoveAllViews() override;
213 void Redraw(bool order_changed) override; 213 void Redraw(bool order_changed) override;
214 void ResizeAndAnimate(gfx::Tween::Type tween_type, 214 void ResizeAndAnimate(gfx::Tween::Type tween_type,
215 int target_width, 215 int target_width) override;
216 bool suppress_chevron) override;
217 void SetChevronVisibility(bool chevron_visible) override;
218 int GetWidth(GetWidthTime get_width_time) const override; 216 int GetWidth(GetWidthTime get_width_time) const override;
219 bool IsAnimating() const override; 217 bool IsAnimating() const override;
220 void StopAnimating() override; 218 void StopAnimating() override;
221 int GetChevronWidth() const override;
222 void ShowToolbarActionBubble( 219 void ShowToolbarActionBubble(
223 std::unique_ptr<ToolbarActionsBarBubbleDelegate> controller) override; 220 std::unique_ptr<ToolbarActionsBarBubbleDelegate> controller) override;
224 221
225 // views::WidgetObserver: 222 // views::WidgetObserver:
226 void OnWidgetClosing(views::Widget* widget) override; 223 void OnWidgetClosing(views::Widget* widget) override;
227 void OnWidgetDestroying(views::Widget* widget) override; 224 void OnWidgetDestroying(views::Widget* widget) override;
228 225
229 views::BubbleDialogDelegateView* active_bubble() { return active_bubble_; } 226 views::BubbleDialogDelegateView* active_bubble() { return active_bubble_; }
230 227
231 protected: 228 protected:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // is none. 288 // is none.
292 std::unique_ptr<DropPosition> drop_position_; 289 std::unique_ptr<DropPosition> drop_position_;
293 290
294 // The extension bubble that is actively showing, if any. 291 // The extension bubble that is actively showing, if any.
295 views::BubbleDialogDelegateView* active_bubble_; 292 views::BubbleDialogDelegateView* active_bubble_;
296 293
297 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); 294 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer);
298 }; 295 };
299 296
300 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ 297 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698