Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "app/combobox_model.h" | 10 #include "app/combobox_model.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 int prev_index, | 116 int prev_index, |
| 117 int new_index); | 117 int new_index); |
| 118 | 118 |
| 119 // InfoBubbleDelegate methods. These forward to the InfoBubbleDelegate | 119 // InfoBubbleDelegate methods. These forward to the InfoBubbleDelegate |
| 120 // supplied in the constructor as well as sending out the necessary | 120 // supplied in the constructor as well as sending out the necessary |
| 121 // notification. | 121 // notification. |
| 122 virtual void InfoBubbleClosing(InfoBubble* info_bubble, | 122 virtual void InfoBubbleClosing(InfoBubble* info_bubble, |
| 123 bool closed_by_escape); | 123 bool closed_by_escape); |
| 124 virtual bool CloseOnEscape(); | 124 virtual bool CloseOnEscape(); |
| 125 virtual bool FadeInOnShow() { return false; } | 125 virtual bool FadeInOnShow() { return false; } |
| 126 virtual std::wstring accessible_name(); | |
|
dmazzoni
2010/06/01 14:14:58
You inadvertantly grouped this with InfoDelegate m
| |
| 126 | 127 |
| 127 // Closes the bubble. | 128 // Closes the bubble. |
| 128 void Close(); | 129 void Close(); |
| 129 | 130 |
| 130 // Handle the message when the user presses a button. | 131 // Handle the message when the user presses a button. |
| 131 void HandleButtonPressed(views::Button* sender); | 132 void HandleButtonPressed(views::Button* sender); |
| 132 | 133 |
| 133 // Shows the BookmarkEditor. | 134 // Shows the BookmarkEditor. |
| 134 void ShowEditor(); | 135 void ShowEditor(); |
| 135 | 136 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 179 // When the destructor is invoked should the bookmark be removed? | 180 // When the destructor is invoked should the bookmark be removed? |
| 180 bool remove_bookmark_; | 181 bool remove_bookmark_; |
| 181 | 182 |
| 182 // When the destructor is invoked should edits be applied? | 183 // When the destructor is invoked should edits be applied? |
| 183 bool apply_edits_; | 184 bool apply_edits_; |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 186 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ | 189 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_ |
| OLD | NEW |