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

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

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sky's review (3) Created 7 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_DELEGATE_H_
7
8 // The delegate for BubbleIconView.
9 class BubbleIconViewDelegate {
sky 2013/10/23 14:43:29 There is no point in both subclassing *and* having
hajimehoshi 2013/10/24 11:31:14 Done.
10 public:
11 virtual ~BubbleIconViewDelegate() {}
12
13 // Returns true if a related bubble is already shown.
14 virtual bool IsBubbleShowing() const = 0;
15
16 // Handles when the command is executed by mouse event.
17 virtual void OnExecutingByMouse() = 0;
sky 2013/10/23 14:43:29 Add an enum and a single OnExecute(EXECUTE_SOURCE)
hajimehoshi 2013/10/24 11:31:14 Done.
18
19 // Handles when the command is executed by key event.
20 virtual void OnExecutingByKey() = 0;
21
22 // Handles when the command is executed by gesture event.
23 virtual void OnExecutingByGesture() = 0;
24 };
25
26 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698