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

Side by Side Diff: ash/common/wm/maximize_mode/maximize_mode_event_handler.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/wm/maximize_mode/maximize_mode_event_handler.h" 5 #include "ash/common/wm/maximize_mode/maximize_mode_event_handler.h"
6 6
7 #include "ash/common/session/session_state_delegate.h" 7 #include "ash/common/session/session_state_delegate.h"
8 #include "ash/common/system/tray/system_tray_delegate.h"
9 #include "ash/common/wm/window_state.h" 8 #include "ash/common/wm/window_state.h"
10 #include "ash/common/wm/wm_event.h" 9 #include "ash/common/wm/wm_event.h"
11 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
12 #include "ash/common/wm_window.h" 11 #include "ash/common/wm_window.h"
12 #include "ash/system/tray/system_tray_delegate.h"
13 #include "ui/events/event.h" 13 #include "ui/events/event.h"
14 14
15 namespace ash { 15 namespace ash {
16 namespace wm { 16 namespace wm {
17 namespace { 17 namespace {
18 18
19 // The height of the area in which a touch operation leads to exiting the 19 // The height of the area in which a touch operation leads to exiting the
20 // full screen mode. 20 // full screen mode.
21 const int kLeaveFullScreenAreaHeightInPixel = 2; 21 const int kLeaveFullScreenAreaHeightInPixel = 2;
22 22
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return false; 63 return false;
64 } 64 }
65 65
66 WMEvent toggle_fullscreen(WM_EVENT_TOGGLE_FULLSCREEN); 66 WMEvent toggle_fullscreen(WM_EVENT_TOGGLE_FULLSCREEN);
67 window->GetWindowState()->OnWMEvent(&toggle_fullscreen); 67 window->GetWindowState()->OnWMEvent(&toggle_fullscreen);
68 return true; 68 return true;
69 } 69 }
70 70
71 } // namespace wm 71 } // namespace wm
72 } // namespace ash 72 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/wm_shell_test_api.cc ('k') | ash/common/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698