| 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/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 bool newly_bookmarked); | 38 bool newly_bookmarked); |
| 39 | 39 |
| 40 static bool IsShowing(); | 40 static bool IsShowing(); |
| 41 | 41 |
| 42 static void Hide(); | 42 static void Hide(); |
| 43 | 43 |
| 44 virtual ~BookmarkBubbleView(); | 44 virtual ~BookmarkBubbleView(); |
| 45 | 45 |
| 46 // views::BubbleDelegateView methods. | 46 // views::BubbleDelegateView methods. |
| 47 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 47 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 48 virtual gfx::Point GetAnchorPoint() OVERRIDE; | 48 virtual gfx::Rect GetAnchorRect() OVERRIDE; |
| 49 | 49 |
| 50 // views::WidgetDelegate method. | 50 // views::WidgetDelegate method. |
| 51 virtual void WindowClosing() OVERRIDE; | 51 virtual void WindowClosing() OVERRIDE; |
| 52 | 52 |
| 53 // views::View method. | 53 // views::View method. |
| 54 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 54 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| 55 | 55 |
| 56 protected: | 56 protected: |
| 57 // views::BubbleDelegateView method. | 57 // views::BubbleDelegateView method. |
| 58 virtual void Init() OVERRIDE; | 58 virtual void Init() OVERRIDE; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // When the destructor is invoked should the bookmark be removed? | 129 // When the destructor is invoked should the bookmark be removed? |
| 130 bool remove_bookmark_; | 130 bool remove_bookmark_; |
| 131 | 131 |
| 132 // When the destructor is invoked should edits be applied? | 132 // When the destructor is invoked should edits be applied? |
| 133 bool apply_edits_; | 133 bool apply_edits_; |
| 134 | 134 |
| 135 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); | 135 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ | 138 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ |
| OLD | NEW |