Chromium Code Reviews| Index: chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h |
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h |
| index 113520aa9a69046dbb8dd19210081d6fbc9cec96..62f72aff67fc22ef4f51ab9106a891f6856e8fa9 100644 |
| --- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h |
| +++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h |
| @@ -22,10 +22,15 @@ class WebContents; |
| class LocationBarBubbleDelegateView : public views::BubbleDelegateView, |
| public content::NotificationObserver { |
| public: |
| + enum DisplayReason { AUTOMATIC, USER_ACTION }; |
|
Peter Kasting
2015/11/10 00:24:18
I'm not opposed to adding this, but it seems like
Evan Stade
2015/11/10 19:18:26
Done, but I left the enum value as USER_GESTURE to
|
| + |
| LocationBarBubbleDelegateView(views::View* anchor_view, |
| content::WebContents* web_contents); |
| ~LocationBarBubbleDelegateView() override; |
| + // Displays the bubble as a result of |reason|. |
|
Peter Kasting
2015/11/10 00:24:18
You might want to note what we do differently in t
Evan Stade
2015/11/10 19:18:26
I don't like writing this type of comment because
|
| + void ShowForReason(DisplayReason reason); |
| + |
| // content::NotificationObserver: |
| void Observe(int type, |
| const content::NotificationSource& source, |