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

Side by Side Diff: ash/common/system/tray/tray_event_filter.cc

Issue 2099603002: Reland: mash: Convert TrayBackgroundView to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix conflict Created 4 years, 6 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 | « ash/common/system/tray/tray_event_filter.h ('k') | ash/shelf/overflow_bubble.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_event_filter.h" 5 #include "ash/common/system/tray/tray_event_filter.h"
6 6
7 #include "ash/common/shell_window_ids.h" 7 #include "ash/common/shell_window_ids.h"
8 #include "ash/common/system/tray/tray_background_view.h"
9 #include "ash/common/system/tray/tray_bubble_wrapper.h"
8 #include "ash/common/wm/container_finder.h" 10 #include "ash/common/wm/container_finder.h"
9 #include "ash/common/wm_lookup.h" 11 #include "ash/common/wm_lookup.h"
10 #include "ash/common/wm_shell.h" 12 #include "ash/common/wm_shell.h"
11 #include "ash/common/wm_window.h" 13 #include "ash/common/wm_window.h"
12 #include "ash/system/tray/tray_background_view.h"
13 #include "ash/system/tray/tray_bubble_wrapper.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace ash { 16 namespace ash {
17 17
18 TrayEventFilter::TrayEventFilter() { 18 TrayEventFilter::TrayEventFilter() {
19 } 19 }
20 20
21 TrayEventFilter::~TrayEventFilter() { 21 TrayEventFilter::~TrayEventFilter() {
22 DCHECK(wrappers_.empty()); 22 DCHECK(wrappers_.empty());
23 } 23 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 iter != wrappers_.end(); ++iter) { 92 iter != wrappers_.end(); ++iter) {
93 trays.insert((*iter)->tray()); 93 trays.insert((*iter)->tray());
94 } 94 }
95 for (std::set<TrayBackgroundView*>::iterator iter = trays.begin(); 95 for (std::set<TrayBackgroundView*>::iterator iter = trays.begin();
96 iter != trays.end(); ++iter) { 96 iter != trays.end(); ++iter) {
97 (*iter)->ClickedOutsideBubble(); 97 (*iter)->ClickedOutsideBubble();
98 } 98 }
99 } 99 }
100 100
101 } // namespace ash 101 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_event_filter.h ('k') | ash/shelf/overflow_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698