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

Side by Side Diff: chrome/browser/ui/views/location_bar/action_box_button_view.h

Issue 10406016: Implement Action Box button (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
Aaron Boodman 2012/05/17 20:42:05 2012
yefimt 2012/05/17 22:42:52 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ACTION_BOX_BUTTON_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ACTION_BOX_BUTTON_VIEW_H_
7 #pragma once
8
9 #include "ui/views/controls/button/menu_button.h"
10 #include "ui/views/controls/button/menu_button_listener.h"
11
12 class CommandUpdater;
13
14 namespace views {
15 class KeyEvent;
16 class MouseEvent;
17 }
18
19 class ActionBoxButtonView : public views::MenuButton,
Aaron Boodman 2012/05/17 20:42:05 In the case of the wrench menu, the containing vie
20 public views::MenuButtonListener {
21 public:
22 explicit ActionBoxButtonView(CommandUpdater* command_updater);
23 virtual ~ActionBoxButtonView();
24
25 private:
26 void SetImages();
27
28 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
Aaron Boodman 2012/05/17 20:42:05 When implementing interfaces, it is customary to f
yefimt 2012/05/17 22:42:52 Done.
29
30 virtual void OnMenuButtonClicked(View* source, const gfx::Point& point);
31
32 // The CommandUpdater for the Browser object that owns the location bar.
33 CommandUpdater* command_updater_;
34
35 DISALLOW_IMPLICIT_CONSTRUCTORS(ActionBoxButtonView);
36 };
37
38 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ACTION_BOX_BUTTON_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698