| 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/display_controller.h" | 10 #include "ash/display/display_controller.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 void OnFadeOutForDisplayLayoutFinished(int layout, int offset); | 56 void OnFadeOutForDisplayLayoutFinished(int layout, int offset); |
| 57 | 57 |
| 58 // Handlers of JS messages. | 58 // Handlers of JS messages. |
| 59 void HandleDisplayInfo(const base::ListValue* unused_args); | 59 void HandleDisplayInfo(const base::ListValue* unused_args); |
| 60 void HandleMirroring(const base::ListValue* args); | 60 void HandleMirroring(const base::ListValue* args); |
| 61 void HandleSetPrimary(const base::ListValue* args); | 61 void HandleSetPrimary(const base::ListValue* args); |
| 62 void HandleDisplayLayout(const base::ListValue* args); | 62 void HandleDisplayLayout(const base::ListValue* args); |
| 63 void HandleSetDisplayMode(const base::ListValue* args); | 63 void HandleSetDisplayMode(const base::ListValue* args); |
| 64 void HandleSetOrientation(const base::ListValue* args); | 64 void HandleSetOrientation(const base::ListValue* args); |
| 65 void HandleSetColorProfile(const base::ListValue* args); | 65 void HandleSetColorProfile(const base::ListValue* args); |
| 66 void HandleSetUnifiedDesktopEnabled(const base::ListValue* args); |
| 66 | 67 |
| 67 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); | 68 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 } // namespace options | 71 } // namespace options |
| 71 } // namespace chromeos | 72 } // namespace chromeos |
| 72 | 73 |
| 73 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ | 74 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ |
| OLD | NEW |