| 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..13c4f7d714c68ad03940b38e6683ac80f521e75d 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,24 @@ class WebContents;
|
| class LocationBarBubbleDelegateView : public views::BubbleDelegateView,
|
| public content::NotificationObserver {
|
| public:
|
| + enum DisplayReason {
|
| + // The bubble appears as a direct result of a user action (clicking on the
|
| + // location bar icon).
|
| + USER_GESTURE,
|
| +
|
| + // The bubble appears spontaneously over the course of the user's
|
| + // interaction with Chrome (e.g. due to some change in the feature's
|
| + // status).
|
| + AUTOMATIC,
|
| + };
|
| +
|
| LocationBarBubbleDelegateView(views::View* anchor_view,
|
| content::WebContents* web_contents);
|
| ~LocationBarBubbleDelegateView() override;
|
|
|
| + // Displays the bubble with appearance and behavior tailored for |reason|.
|
| + void ShowForReason(DisplayReason reason);
|
| +
|
| // content::NotificationObserver:
|
| void Observe(int type,
|
| const content::NotificationSource& source,
|
|
|