Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: ash/common/shelf/overflow_bubble.h

Issue 2267803003: ash: Remove unnecessary WmShelf::SchedulePaint() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ash/common/shelf/overflow_bubble.cc » ('j') | ash/common/shelf/overflow_bubble.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMMON_SHELF_OVERFLOW_BUBBLE_H_ 5 #ifndef ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_
6 #define ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_ 6 #define ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/pointer_watcher.h" 9 #include "ui/views/pointer_watcher.h"
10 #include "ui/views/widget/widget_observer.h" 10 #include "ui/views/widget/widget_observer.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void OnPointerEventObserved(const ui::PointerEvent& event, 52 void OnPointerEventObserved(const ui::PointerEvent& event,
53 const gfx::Point& location_in_screen, 53 const gfx::Point& location_in_screen,
54 views::Widget* target) override; 54 views::Widget* target) override;
55 55
56 // Overridden from views::WidgetObserver: 56 // Overridden from views::WidgetObserver:
57 void OnWidgetDestroying(views::Widget* widget) override; 57 void OnWidgetDestroying(views::Widget* widget) override;
58 58
59 WmShelf* wm_shelf_; 59 WmShelf* wm_shelf_;
60 OverflowBubbleView* bubble_; // Owned by views hierarchy. 60 OverflowBubbleView* bubble_; // Owned by views hierarchy.
61 views::View* anchor_; // Owned by ShelfView. 61 views::View* anchor_; // Owned by ShelfView.
62 ShelfView* shelf_view_; // Owned by |bubble_|. 62
63 // ShelfView containing the overflow items. Owned by |bubble_|.
64 ShelfView* shelf_view_;
63 65
64 DISALLOW_COPY_AND_ASSIGN(OverflowBubble); 66 DISALLOW_COPY_AND_ASSIGN(OverflowBubble);
65 }; 67 };
66 68
67 } // namespace ash 69 } // namespace ash
68 70
69 #endif // ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_ 71 #endif // ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/shelf/overflow_bubble.cc » ('j') | ash/common/shelf/overflow_bubble.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698