OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/display/window_tree_host_manager.h" | 10 #include "ash/display/window_tree_host_manager.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Enables or disables the display settings UI. | 47 // Enables or disables the display settings UI. |
48 void UpdateDisplaySettingsEnabled(); | 48 void UpdateDisplaySettingsEnabled(); |
49 | 49 |
50 // Handlers of JS messages. | 50 // Handlers of JS messages. |
51 void HandleDisplayInfo(const base::ListValue* unused_args); | 51 void HandleDisplayInfo(const base::ListValue* unused_args); |
52 void HandleMirroring(const base::ListValue* args); | 52 void HandleMirroring(const base::ListValue* args); |
53 void HandleSetPrimary(const base::ListValue* args); | 53 void HandleSetPrimary(const base::ListValue* args); |
54 void HandleSetDisplayLayout(const base::ListValue* args); | 54 void HandleSetDisplayLayout(const base::ListValue* args); |
55 void HandleSetDisplayMode(const base::ListValue* args); | 55 void HandleSetDisplayMode(const base::ListValue* args); |
56 void HandleSetOrientation(const base::ListValue* args); | 56 void HandleSetRotation(const base::ListValue* args); |
57 void HandleSetColorProfile(const base::ListValue* args); | 57 void HandleSetColorProfile(const base::ListValue* args); |
58 void HandleSetUnifiedDesktopEnabled(const base::ListValue* args); | 58 void HandleSetUnifiedDesktopEnabled(const base::ListValue* args); |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); | 60 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace options | 63 } // namespace options |
64 } // namespace chromeos | 64 } // namespace chromeos |
65 | 65 |
66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ | 66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ |
OLD | NEW |