| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 bool Close() override; | 48 bool Close() override; |
| 49 int GetDialogButtons() const override; | 49 int GetDialogButtons() const override; |
| 50 int GetDefaultDialogButton() const override; | 50 int GetDefaultDialogButton() const override; |
| 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 52 void Init() override; | 52 void Init() override; |
| 53 | 53 |
| 54 // views::LinkListener: | 54 // views::LinkListener: |
| 55 void LinkClicked(views::Link* source, int event_flags) override; | 55 void LinkClicked(views::Link* source, int event_flags) override; |
| 56 | 56 |
| 57 std::unique_ptr<ToolbarActionsBarBubbleDelegate> delegate_; | 57 std::unique_ptr<ToolbarActionsBarBubbleDelegate> delegate_; |
| 58 ToolbarActionsBarBubbleDelegate::CloseAction close_reason_; | 58 bool delegate_notified_of_close_; |
| 59 views::Label* item_list_; | 59 views::Label* item_list_; |
| 60 views::Link* link_; | 60 views::Link* link_; |
| 61 const bool anchored_to_action_; | 61 const bool anchored_to_action_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBarBubbleViews); | 63 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBarBubbleViews); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ | 66 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_ACTIONS_BAR_BUBBLE_VIEWS_H_ |
| OLD | NEW |