| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "chrome/browser/bookmarks/recently_used_folders_combo_model.h" | 10 #include "chrome/browser/bookmarks/recently_used_folders_combo_model.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual void ItemChanged(views::Combobox* combobox, | 84 virtual void ItemChanged(views::Combobox* combobox, |
| 85 int prev_index, | 85 int prev_index, |
| 86 int new_index); | 86 int new_index); |
| 87 | 87 |
| 88 // InfoBubbleDelegate methods. These forward to the InfoBubbleDelegate | 88 // InfoBubbleDelegate methods. These forward to the InfoBubbleDelegate |
| 89 // supplied in the constructor as well as sending out the necessary | 89 // supplied in the constructor as well as sending out the necessary |
| 90 // notification. | 90 // notification. |
| 91 virtual void InfoBubbleClosing(InfoBubble* info_bubble, | 91 virtual void InfoBubbleClosing(InfoBubble* info_bubble, |
| 92 bool closed_by_escape); | 92 bool closed_by_escape); |
| 93 virtual bool CloseOnEscape(); | 93 virtual bool CloseOnEscape(); |
| 94 virtual bool FadeInOnShow() { return false; } | 94 virtual bool FadeInOnShow(); |
| 95 virtual std::wstring accessible_name(); | 95 virtual std::wstring accessible_name(); |
| 96 | 96 |
| 97 // Closes the bubble. | 97 // Closes the bubble. |
| 98 void Close(); | 98 void Close(); |
| 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); |
| 102 | 102 |
| 103 // Shows the BookmarkEditor. | 103 // Shows the BookmarkEditor. |
| 104 void ShowEditor(); | 104 void ShowEditor(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // When the destructor is invoked should the bookmark be removed? | 149 // When the destructor is invoked should the bookmark be removed? |
| 150 bool remove_bookmark_; | 150 bool remove_bookmark_; |
| 151 | 151 |
| 152 // When the destructor is invoked should edits be applied? | 152 // When the destructor is invoked should edits be applied? |
| 153 bool apply_edits_; | 153 bool apply_edits_; |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 155 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 158 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| OLD | NEW |