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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 string16 GetTitle(); | 67 string16 GetTitle(); |
68 | 68 |
69 // Overridden from views::LinkListener: | 69 // Overridden from views::LinkListener: |
70 // Either unstars the item or shows the bookmark editor (depending upon which | 70 // Either unstars the item or shows the bookmark editor (depending upon which |
71 // link was clicked). | 71 // link was clicked). |
72 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; | 72 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
73 | 73 |
74 // Overridden from views::ButtonListener: | 74 // Overridden from views::ButtonListener: |
75 // Closes the bubble or opens the edit dialog. | 75 // Closes the bubble or opens the edit dialog. |
76 virtual void ButtonPressed(views::Button* sender, | 76 virtual void ButtonPressed(views::Button* sender, |
77 const views::Event& event) OVERRIDE; | 77 const ui::Event& event) OVERRIDE; |
78 | 78 |
79 // Overridden from views::ComboboxListener: | 79 // Overridden from views::ComboboxListener: |
80 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; | 80 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; |
81 | 81 |
82 // Handle the message when the user presses a button. | 82 // Handle the message when the user presses a button. |
83 void HandleButtonPressed(views::Button* sender); | 83 void HandleButtonPressed(views::Button* sender); |
84 | 84 |
85 // Shows the BookmarkEditor. | 85 // Shows the BookmarkEditor. |
86 void ShowEditor(); | 86 void ShowEditor(); |
87 | 87 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // When the destructor is invoked should the bookmark be removed? | 125 // When the destructor is invoked should the bookmark be removed? |
126 bool remove_bookmark_; | 126 bool remove_bookmark_; |
127 | 127 |
128 // When the destructor is invoked should edits be applied? | 128 // When the destructor is invoked should edits be applied? |
129 bool apply_edits_; | 129 bool apply_edits_; |
130 | 130 |
131 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 131 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
132 }; | 132 }; |
133 | 133 |
134 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 134 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
OLD | NEW |