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_GESTURE_CONFIG_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |
7 | 7 |
8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
(...skipping 22 matching lines...) Expand all Loading... |
33 */ | 33 */ |
34 void ResetPreferenceValue(const base::ListValue* args); | 34 void ResetPreferenceValue(const base::ListValue* args); |
35 | 35 |
36 /** | 36 /** |
37 * Set a preference setting's value. | 37 * Set a preference setting's value. |
38 * Two parameters are provided in a JS list: prefName and value, the | 38 * Two parameters are provided in a JS list: prefName and value, the |
39 * key of the preference value to be set, and the value it's to be set to. | 39 * key of the preference value to be set, and the value it's to be set to. |
40 */ | 40 */ |
41 void SetPreferenceValue(const base::ListValue* args); | 41 void SetPreferenceValue(const base::ListValue* args); |
42 | 42 |
| 43 /** |
| 44 * Checks whether the workspace cycler configuration should be added to the |
| 45 * configurable properties. |
| 46 * This method is asynchronous; the result is provided by a call to the JS |
| 47 * method 'gesture_config.checkShouldAddWorkspaceCyclerConfigurationResult'. |
| 48 */ |
| 49 void CheckShouldAddWorkspaceCyclerConfiguration(const base::ListValue* args); |
| 50 |
43 DISALLOW_COPY_AND_ASSIGN(GestureConfigUI); | 51 DISALLOW_COPY_AND_ASSIGN(GestureConfigUI); |
44 }; | 52 }; |
45 | 53 |
46 #endif // CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ | 54 #endif // CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |
OLD | NEW |