| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 bookmarks::BookmarkBubbleObserver* observer, | 81 bookmarks::BookmarkBubbleObserver* observer, |
| 82 std::unique_ptr<BubbleSyncPromoDelegate> delegate, | 82 std::unique_ptr<BubbleSyncPromoDelegate> delegate, |
| 83 Profile* profile, | 83 Profile* profile, |
| 84 const GURL& url, | 84 const GURL& url, |
| 85 bool newly_bookmarked); | 85 bool newly_bookmarked); |
| 86 | 86 |
| 87 // Returns the title to display. | 87 // Returns the title to display. |
| 88 base::string16 GetTitle(); | 88 base::string16 GetTitle(); |
| 89 | 89 |
| 90 // Overridden from views::View: | 90 // Overridden from views::View: |
| 91 void GetAccessibleState(ui::AXViewState* state) override; | 91 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 92 | 92 |
| 93 // Overridden from views::ButtonListener: | 93 // Overridden from views::ButtonListener: |
| 94 // Closes the bubble or opens the edit dialog. | 94 // Closes the bubble or opens the edit dialog. |
| 95 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 95 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 96 | 96 |
| 97 // Overridden from views::ComboboxListener: | 97 // Overridden from views::ComboboxListener: |
| 98 void OnPerformAction(views::Combobox* combobox) override; | 98 void OnPerformAction(views::Combobox* combobox) override; |
| 99 | 99 |
| 100 // Handle the message when the user presses a button. | 100 // Handle the message when the user presses a button. |
| 101 void HandleButtonPressed(views::Button* sender); | 101 void HandleButtonPressed(views::Button* sender); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // When the destructor is invoked should the bookmark be removed? | 145 // When the destructor is invoked should the bookmark be removed? |
| 146 bool remove_bookmark_; | 146 bool remove_bookmark_; |
| 147 | 147 |
| 148 // When the destructor is invoked should edits be applied? | 148 // When the destructor is invoked should edits be applied? |
| 149 bool apply_edits_; | 149 bool apply_edits_; |
| 150 | 150 |
| 151 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 151 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 154 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| OLD | NEW |