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

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

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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/system/tray/tray_details_view_unittest.cc ('k') | ash/system/tray/tray_item_view.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/system/tray/tray_event_filter.h"
6 6
7 #include "ash/common/wm_shell.h"
8 #include "ash/common/wm_window.h"
7 #include "ash/public/cpp/shell_window_ids.h" 9 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/system/tray/tray_background_view.h" 10 #include "ash/system/tray/tray_background_view.h"
9 #include "ash/system/tray/tray_bubble_wrapper.h" 11 #include "ash/system/tray/tray_bubble_wrapper.h"
10 #include "ash/wm/container_finder.h" 12 #include "ash/wm/container_finder.h"
11 #include "ash/wm_shell.h"
12 #include "ash/wm_window.h"
13 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
14 14
15 namespace ash { 15 namespace ash {
16 16
17 TrayEventFilter::TrayEventFilter() {} 17 TrayEventFilter::TrayEventFilter() {}
18 18
19 TrayEventFilter::~TrayEventFilter() { 19 TrayEventFilter::~TrayEventFilter() {
20 DCHECK(wrappers_.empty()); 20 DCHECK(wrappers_.empty());
21 } 21 }
22 22
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Close all bubbles other than the one a user clicked on the tray 88 // Close all bubbles other than the one a user clicked on the tray
89 // or its bubble. 89 // or its bubble.
90 for (std::set<TrayBackgroundView*>::iterator iter = trays.begin(); 90 for (std::set<TrayBackgroundView*>::iterator iter = trays.begin();
91 iter != trays.end(); ++iter) { 91 iter != trays.end(); ++iter) {
92 (*iter)->ClickedOutsideBubble(); 92 (*iter)->ClickedOutsideBubble();
93 } 93 }
94 } 94 }
95 95
96 } // namespace ash 96 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_details_view_unittest.cc ('k') | ash/system/tray/tray_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698