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

Side by Side Diff: ash/system/tray/tray_bubble_wrapper.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('k') | ash/system/tray/tray_event_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ash/system/tray/tray_bubble_wrapper.h" 5 #include "ash/system/tray/tray_bubble_wrapper.h"
6 6
7 #include "ash/system/tray/tray_background_view.h" 7 #include "ash/system/tray/tray_background_view.h"
8 #include "ash/system/tray/tray_event_filter.h" 8 #include "ash/system/tray/tray_event_filter.h"
9 #include "ash/wm/window_properties.h" 9 #include "ash/wm/window_properties.h"
10 #include "ui/aura/client/capture_client.h" 10 #include "ui/aura/client/capture_client.h"
11 #include "ui/aura/root_window.h"
12 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
12 #include "ui/aura/window_event_dispatcher.h"
13 #include "ui/views/bubble/tray_bubble_view.h" 13 #include "ui/views/bubble/tray_bubble_view.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace ash { 16 namespace ash {
17 namespace internal { 17 namespace internal {
18 18
19 TrayBubbleWrapper::TrayBubbleWrapper(TrayBackgroundView* tray, 19 TrayBubbleWrapper::TrayBubbleWrapper(TrayBackgroundView* tray,
20 views::TrayBubbleView* bubble_view) 20 views::TrayBubbleView* bubble_view)
21 : tray_(tray), 21 : tray_(tray),
22 bubble_view_(bubble_view) { 22 bubble_view_(bubble_view) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 void TrayBubbleWrapper::OnWidgetBoundsChanged(views::Widget* widget, 57 void TrayBubbleWrapper::OnWidgetBoundsChanged(views::Widget* widget,
58 const gfx::Rect& new_bounds) { 58 const gfx::Rect& new_bounds) {
59 DCHECK_EQ(bubble_widget_, widget); 59 DCHECK_EQ(bubble_widget_, widget);
60 tray_->BubbleResized(bubble_view_); 60 tray_->BubbleResized(bubble_view_);
61 } 61 }
62 62
63 } // namespace internal 63 } // namespace internal
64 } // namespace ash 64 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('k') | ash/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698