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

Side by Side Diff: ash/BUILD.gn

Issue 2474913004: Tablet-like power button behavior on Convertible/Tablet ChromeOS devices (Closed)
Patch Set: extract TabletPowerButtonController Created 4 years, 1 month 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 | « no previous file | ash/wm/lock_state_controller.h » ('j') | ash/wm/power_button_controller.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//ui/base/ui_features.gni") 8 import("//ui/base/ui_features.gni")
9 9
10 assert(use_aura) 10 assert(use_aura)
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 "wm/shutdown_client_proxy.h", 817 "wm/shutdown_client_proxy.h",
818 "wm/stacking_controller.cc", 818 "wm/stacking_controller.cc",
819 "wm/stacking_controller.h", 819 "wm/stacking_controller.h",
820 "wm/system_gesture_event_filter.cc", 820 "wm/system_gesture_event_filter.cc",
821 "wm/system_gesture_event_filter.h", 821 "wm/system_gesture_event_filter.h",
822 "wm/system_modal_container_event_filter.cc", 822 "wm/system_modal_container_event_filter.cc",
823 "wm/system_modal_container_event_filter.h", 823 "wm/system_modal_container_event_filter.h",
824 "wm/system_modal_container_event_filter_delegate.h", 824 "wm/system_modal_container_event_filter_delegate.h",
825 "wm/system_wallpaper_controller.cc", 825 "wm/system_wallpaper_controller.cc",
826 "wm/system_wallpaper_controller.h", 826 "wm/system_wallpaper_controller.h",
827 "wm/tablet_power_button_controller.cc",
828 "wm/tablet_power_button_controller.h",
827 "wm/toplevel_window_event_handler.cc", 829 "wm/toplevel_window_event_handler.cc",
828 "wm/toplevel_window_event_handler.h", 830 "wm/toplevel_window_event_handler.h",
829 "wm/video_detector.cc", 831 "wm/video_detector.cc",
830 "wm/video_detector.h", 832 "wm/video_detector.h",
831 "wm/window_animations.cc", 833 "wm/window_animations.cc",
832 "wm/window_animations.h", 834 "wm/window_animations.h",
833 "wm/window_cycle_event_filter_aura.cc", 835 "wm/window_cycle_event_filter_aura.cc",
834 "wm/window_cycle_event_filter_aura.h", 836 "wm/window_cycle_event_filter_aura.h",
835 "wm/window_mirror_view.cc", 837 "wm/window_mirror_view.cc",
836 "wm/window_mirror_view.h", 838 "wm/window_mirror_view.h",
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 "wm/panels/panel_layout_manager_unittest.cc", 1335 "wm/panels/panel_layout_manager_unittest.cc",
1334 "wm/panels/panel_window_resizer_unittest.cc", 1336 "wm/panels/panel_window_resizer_unittest.cc",
1335 "wm/resize_shadow_and_cursor_unittest.cc", 1337 "wm/resize_shadow_and_cursor_unittest.cc",
1336 "wm/root_window_layout_manager_unittest.cc", 1338 "wm/root_window_layout_manager_unittest.cc",
1337 "wm/screen_dimmer_unittest.cc", 1339 "wm/screen_dimmer_unittest.cc",
1338 "wm/screen_pinning_controller_unittest.cc", 1340 "wm/screen_pinning_controller_unittest.cc",
1339 "wm/session_state_animator_impl_unittest.cc", 1341 "wm/session_state_animator_impl_unittest.cc",
1340 "wm/stacking_controller_unittest.cc", 1342 "wm/stacking_controller_unittest.cc",
1341 "wm/system_gesture_event_filter_unittest.cc", 1343 "wm/system_gesture_event_filter_unittest.cc",
1342 "wm/system_modal_container_layout_manager_unittest.cc", 1344 "wm/system_modal_container_layout_manager_unittest.cc",
1345 "wm/tablet_power_button_controller_unittest.cc",
1343 "wm/toplevel_window_event_handler_unittest.cc", 1346 "wm/toplevel_window_event_handler_unittest.cc",
1344 "wm/video_detector_unittest.cc", 1347 "wm/video_detector_unittest.cc",
1345 "wm/window_animations_unittest.cc", 1348 "wm/window_animations_unittest.cc",
1346 "wm/window_cycle_controller_unittest.cc", 1349 "wm/window_cycle_controller_unittest.cc",
1347 "wm/window_manager_unittest.cc", 1350 "wm/window_manager_unittest.cc",
1348 "wm/window_modality_controller_unittest.cc", 1351 "wm/window_modality_controller_unittest.cc",
1349 "wm/window_positioner_unittest.cc", 1352 "wm/window_positioner_unittest.cc",
1350 "wm/window_state_unittest.cc", 1353 "wm/window_state_unittest.cc",
1351 "wm/window_util_unittest.cc", 1354 "wm/window_util_unittest.cc",
1352 "wm/workspace/magnetism_matcher_unittest.cc", 1355 "wm/workspace/magnetism_matcher_unittest.cc",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 "sticky_keys/sticky_keys_overlay_unittest.cc", 1456 "sticky_keys/sticky_keys_overlay_unittest.cc",
1454 "sticky_keys/sticky_keys_unittest.cc", 1457 "sticky_keys/sticky_keys_unittest.cc",
1455 "touch/touchscreen_util_unittest.cc", 1458 "touch/touchscreen_util_unittest.cc",
1456 "virtual_keyboard_controller_unittest.cc", 1459 "virtual_keyboard_controller_unittest.cc",
1457 1460
1458 # All tests for multiple displays: not supported on Windows Ash. 1461 # All tests for multiple displays: not supported on Windows Ash.
1459 "wm/drag_window_resizer_unittest.cc", 1462 "wm/drag_window_resizer_unittest.cc",
1460 1463
1461 # Talks to ChromeOS system services. 1464 # Talks to ChromeOS system services.
1462 "wm/lock_state_controller_unittest.cc", 1465 "wm/lock_state_controller_unittest.cc",
1466 "wm/tablet_power_button_controller_unittest.cc",
1463 1467
1464 # Maximize mode is only available on Chrome OS. 1468 # Maximize mode is only available on Chrome OS.
1465 "wm/maximize_mode/maximize_mode_controller_unittest.cc", 1469 "wm/maximize_mode/maximize_mode_controller_unittest.cc",
1466 "wm/maximize_mode/maximize_mode_window_manager_unittest.cc", 1470 "wm/maximize_mode/maximize_mode_window_manager_unittest.cc",
1467 "wm/workspace/workspace_window_resizer_unittest.cc", 1471 "wm/workspace/workspace_window_resizer_unittest.cc",
1468 ] 1472 ]
1469 } 1473 }
1470 1474
1471 if (!use_x11 || !is_chromeos) { 1475 if (!use_x11 || !is_chromeos) {
1472 sources -= [ "touch/touch_transformer_controller_unittest.cc" ] 1476 sources -= [ "touch/touch_transformer_controller_unittest.cc" ]
(...skipping 28 matching lines...) Expand all
1501 if (is_win) { 1505 if (is_win) {
1502 configs -= [ "//build/config/win:console" ] 1506 configs -= [ "//build/config/win:console" ]
1503 configs += [ "//build/config/win:windowed" ] 1507 configs += [ "//build/config/win:windowed" ]
1504 deps += [ "//sandbox" ] 1508 deps += [ "//sandbox" ]
1505 } 1509 }
1506 1510
1507 if (is_chromeos) { 1511 if (is_chromeos) {
1508 deps += [ "//device/bluetooth" ] 1512 deps += [ "//device/bluetooth" ]
1509 } 1513 }
1510 } 1514 }
OLDNEW
« no previous file with comments | « no previous file | ash/wm/lock_state_controller.h » ('j') | ash/wm/power_button_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698