| 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 ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ | 5 #ifndef ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ |
| 6 #define ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ | 6 #define ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 // views::View overrides: | 49 // views::View overrides: |
| 50 virtual gfx::Size GetPreferredSize() OVERRIDE; | 50 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 51 virtual void Layout() OVERRIDE; | 51 virtual void Layout() OVERRIDE; |
| 52 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE; | 52 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE; |
| 53 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; | 53 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; |
| 54 | 54 |
| 55 // ui::EventHandler overrides: | 55 // ui::EventHandler overrides: |
| 56 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 56 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
| 57 | 57 |
| 58 ShelfLayoutManager* GetShelfLayoutManagerForLauncher() const; | 58 ShelfLayoutManager* GetShelfLayoutManager() const; |
| 59 | 59 |
| 60 ShelfView* shelf_view_; // Owned by views hierarchy. | 60 ShelfView* shelf_view_; // Owned by views hierarchy. |
| 61 gfx::Vector2d scroll_offset_; | 61 gfx::Vector2d scroll_offset_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleView); | 63 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleView); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace internal | 66 } // namespace internal |
| 67 } // namespace ash | 67 } // namespace ash |
| 68 | 68 |
| 69 #endif // ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ | 69 #endif // ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ |
| OLD | NEW |