| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual void OnExecuting(ExecuteSource execute_source) = 0; | 55 virtual void OnExecuting(ExecuteSource execute_source) = 0; |
| 56 | 56 |
| 57 // views::View: | 57 // views::View: |
| 58 void GetAccessibleState(ui::AXViewState* state) override; | 58 void GetAccessibleState(ui::AXViewState* state) override; |
| 59 bool GetTooltipText(const gfx::Point& p, base::string16* tooltip) const | 59 bool GetTooltipText(const gfx::Point& p, base::string16* tooltip) const |
| 60 override; | 60 override; |
| 61 gfx::Size GetPreferredSize() const override; | 61 gfx::Size GetPreferredSize() const override; |
| 62 void Layout() override; | 62 void Layout() override; |
| 63 bool OnMousePressed(const ui::MouseEvent& event) override; | 63 bool OnMousePressed(const ui::MouseEvent& event) override; |
| 64 void OnMouseReleased(const ui::MouseEvent& event) override; | 64 void OnMouseReleased(const ui::MouseEvent& event) override; |
| 65 bool OnKeyPressed(const ui::KeyEvent& event) override; | 65 bool OnKeyReleased(const ui::KeyEvent& event) override; |
| 66 void ViewHierarchyChanged( | 66 void ViewHierarchyChanged( |
| 67 const ViewHierarchyChangedDetails& details) override; | 67 const ViewHierarchyChangedDetails& details) override; |
| 68 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; | 68 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; |
| 69 void AddInkDropLayer(ui::Layer* ink_drop_layer) override; | 69 void AddInkDropLayer(ui::Layer* ink_drop_layer) override; |
| 70 void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override; | 70 void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override; |
| 71 std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override; | 71 std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override; |
| 72 SkColor GetInkDropBaseColor() const override; | 72 SkColor GetInkDropBaseColor() const override; |
| 73 | 73 |
| 74 // ui::EventHandler: | 74 // ui::EventHandler: |
| 75 void OnGestureEvent(ui::GestureEvent* event) override; | 75 void OnGestureEvent(ui::GestureEvent* event) override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // prevent the bubble from reshowing. | 127 // prevent the bubble from reshowing. |
| 128 bool suppress_mouse_released_action_; | 128 bool suppress_mouse_released_action_; |
| 129 | 129 |
| 130 // Animation delegate for the ink drop ripple effect. | 130 // Animation delegate for the ink drop ripple effect. |
| 131 std::unique_ptr<views::InkDropDelegate> ink_drop_delegate_; | 131 std::unique_ptr<views::InkDropDelegate> ink_drop_delegate_; |
| 132 | 132 |
| 133 DISALLOW_COPY_AND_ASSIGN(BubbleIconView); | 133 DISALLOW_COPY_AND_ASSIGN(BubbleIconView); |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ | 136 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
| OLD | NEW |