| 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 ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ |
| 6 #define ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ | 6 #define ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/wm/shelf_types.h" | 8 #include "ash/wm/shelf_types.h" |
| 9 #include "ui/aura/event_filter.h" | 9 #include "ui/aura/event_filter.h" |
| 10 #include "ui/views/bubble/bubble_delegate.h" | 10 #include "ui/views/bubble/bubble_delegate.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual bool PreHandleMouseEvent(aura::Window* target, | 52 virtual bool PreHandleMouseEvent(aura::Window* target, |
| 53 ui::MouseEvent* event) OVERRIDE; | 53 ui::MouseEvent* event) OVERRIDE; |
| 54 virtual ui::TouchStatus PreHandleTouchEvent( | 54 virtual ui::TouchStatus PreHandleTouchEvent( |
| 55 aura::Window* target, | 55 aura::Window* target, |
| 56 ui::TouchEvent* event) OVERRIDE; | 56 ui::TouchEvent* event) OVERRIDE; |
| 57 virtual ui::GestureStatus PreHandleGestureEvent( | 57 virtual ui::GestureStatus PreHandleGestureEvent( |
| 58 aura::Window* target, | 58 aura::Window* target, |
| 59 ui::GestureEvent* event) OVERRIDE; | 59 ui::GestureEvent* event) OVERRIDE; |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 void ProcessLocatedEvent(const ui::LocatedEvent& event); | 62 void ProcessLocatedEvent(aura::Window* target, |
| 63 const ui::LocatedEvent& event); |
| 63 | 64 |
| 64 views::Widget* widget_; | 65 views::Widget* widget_; |
| 65 views::View* tray_view_; | 66 views::View* tray_view_; |
| 66 | 67 |
| 67 DISALLOW_COPY_AND_ASSIGN(Host); | 68 DISALLOW_COPY_AND_ASSIGN(Host); |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 struct InitParams { | 71 struct InitParams { |
| 71 static const int kArrowDefaultOffset; | 72 static const int kArrowDefaultOffset; |
| 72 | 73 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 InitParams params_; | 132 InitParams params_; |
| 132 Host* host_; | 133 Host* host_; |
| 133 | 134 |
| 134 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); | 135 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 } // namespace internal | 138 } // namespace internal |
| 138 } // namespace ash | 139 } // namespace ash |
| 139 | 140 |
| 140 #endif // ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ | 141 #endif // ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ |
| OLD | NEW |