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

Side by Side Diff: ash/wm/workspace/workspace_event_handler.cc

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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/wm/workspace/workspace_event_handler.h" 5 #include "ash/wm/workspace/workspace_event_handler.h"
6 6
7 #include "ash/common/wm/window_state.h"
8 #include "ash/common/wm/wm_event.h"
9 #include "ash/common/wm/wm_window.h"
7 #include "ash/metrics/user_metrics_recorder.h" 10 #include "ash/metrics/user_metrics_recorder.h"
8 #include "ash/shell.h" 11 #include "ash/shell.h"
9 #include "ash/touch/touch_uma.h" 12 #include "ash/touch/touch_uma.h"
10 #include "ash/wm/aura/wm_window_aura.h" 13 #include "ash/wm/aura/wm_window_aura.h"
11 #include "ash/wm/common/window_state.h"
12 #include "ash/wm/common/wm_event.h"
13 #include "ash/wm/common/wm_window.h"
14 #include "ash/wm/window_state_aura.h" 14 #include "ash/wm/window_state_aura.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 #include "ui/aura/window_delegate.h" 16 #include "ui/aura/window_delegate.h"
17 #include "ui/base/hit_test.h" 17 #include "ui/base/hit_test.h"
18 18
19 namespace ash { 19 namespace ash {
20 20
21 WorkspaceEventHandler::WorkspaceEventHandler() 21 WorkspaceEventHandler::WorkspaceEventHandler()
22 : click_component_(HTNOWHERE) { 22 : click_component_(HTNOWHERE) {
23 } 23 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Shell::GetInstance()->metrics()->RecordUserMetricsAction( 126 Shell::GetInstance()->metrics()->RecordUserMetricsAction(
127 UMA_TOGGLE_SINGLE_AXIS_MAXIMIZE_BORDER_CLICK); 127 UMA_TOGGLE_SINGLE_AXIS_MAXIMIZE_BORDER_CLICK);
128 const wm::WMEvent wm_event(wm::WM_EVENT_TOGGLE_HORIZONTAL_MAXIMIZE); 128 const wm::WMEvent wm_event(wm::WM_EVENT_TOGGLE_HORIZONTAL_MAXIMIZE);
129 target_state->OnWMEvent(&wm_event); 129 target_state->OnWMEvent(&wm_event);
130 event->StopPropagation(); 130 event->StopPropagation();
131 } 131 }
132 } 132 }
133 } 133 }
134 134
135 } // namespace ash 135 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_event_handler.h ('k') | ash/wm/workspace/workspace_event_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698