| 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/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual ~BookmarkBubbleView(); | 47 virtual ~BookmarkBubbleView(); |
| 48 | 48 |
| 49 // views::BubbleDelegateView method. | 49 // views::BubbleDelegateView method. |
| 50 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 50 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 51 | 51 |
| 52 // views::WidgetDelegate method. | 52 // views::WidgetDelegate method. |
| 53 virtual void WindowClosing() OVERRIDE; | 53 virtual void WindowClosing() OVERRIDE; |
| 54 | 54 |
| 55 // views::View method. | 55 // views::View method. |
| 56 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 56 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| 57 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE; | |
| 58 | 57 |
| 59 protected: | 58 protected: |
| 60 // views::BubbleDelegateView method. | 59 // views::BubbleDelegateView method. |
| 61 virtual void Init() OVERRIDE; | 60 virtual void Init() OVERRIDE; |
| 62 | 61 |
| 63 private: | 62 private: |
| 64 friend class BookmarkBubbleViewTest; | 63 friend class BookmarkBubbleViewTest; |
| 65 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoSignedIn); | 64 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoSignedIn); |
| 66 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoNotSignedIn); | 65 FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoNotSignedIn); |
| 67 | 66 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // When the destructor is invoked should the bookmark be removed? | 138 // When the destructor is invoked should the bookmark be removed? |
| 140 bool remove_bookmark_; | 139 bool remove_bookmark_; |
| 141 | 140 |
| 142 // When the destructor is invoked should edits be applied? | 141 // When the destructor is invoked should edits be applied? |
| 143 bool apply_edits_; | 142 bool apply_edits_; |
| 144 | 143 |
| 145 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 144 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 147 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| OLD | NEW |