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

Side by Side Diff: chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_hand ler.h" 5 #include "chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_hand ler.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/common/wm_shell.h"
10 #include "ash/system/tray/system_tray_delegate.h" 11 #include "ash/system/tray/system_tray_delegate.h"
11 #include "ash/wm_shell.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/chromeos/system/fake_input_device_settings.h" 16 #include "chrome/browser/chromeos/system/fake_input_device_settings.h"
17 #include "chrome/browser/chromeos/system/input_device_settings.h" 17 #include "chrome/browser/chromeos/system/input_device_settings.h"
18 #include "chromeos/dbus/dbus_thread_manager.h" 18 #include "chromeos/dbus/dbus_thread_manager.h"
19 #include "chromeos/dbus/fake_cras_audio_client.h" 19 #include "chromeos/dbus/fake_cras_audio_client.h"
20 #include "chromeos/dbus/fake_power_manager_client.h" 20 #include "chromeos/dbus/fake_power_manager_client.h"
21 #include "content/public/browser/web_ui.h" 21 #include "content/public/browser/web_ui.h"
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 } 634 }
635 635
636 void DeviceEmulatorMessageHandler::MouseExists(bool exists) { 636 void DeviceEmulatorMessageHandler::MouseExists(bool exists) {
637 if (!IsJavascriptAllowed()) 637 if (!IsJavascriptAllowed())
638 return; 638 return;
639 web_ui()->CallJavascriptFunctionUnsafe(kMouseExistsCallback, 639 web_ui()->CallJavascriptFunctionUnsafe(kMouseExistsCallback,
640 base::Value(exists)); 640 base::Value(exists));
641 } 641 }
642 642
643 } // namespace chromeos 643 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_ash.cc ('k') | chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698