Chromium Code Reviews| Index: chrome/browser/ui/webui/gesture_config_ui.h |
| diff --git a/chrome/browser/ui/webui/gesture_config_ui.h b/chrome/browser/ui/webui/gesture_config_ui.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f50f39843815f34b81985927a26979b8e8a1c9ed |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/gesture_config_ui.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |
| +#pragma once |
| + |
| +#include "content/public/browser/web_ui_controller.h" |
| + |
| +namespace base { |
| + class ListValue; |
| +} // namespace base |
|
James Hawkins
2012/06/12 15:48:14
nit: Two spaces before start of comment.
|
| + |
| +// The WebUI for chrome://gesture |
|
James Hawkins
2012/06/12 15:48:14
nit: Missing period at end of sentence.
|
| +class GestureConfigUI : public content::WebUIController { |
| + public: |
| + explicit GestureConfigUI(content::WebUI* web_ui); |
|
James Hawkins
2012/06/12 15:48:14
nit: Document |web_ui|.
|
| + virtual ~GestureConfigUI(); |
| + void GetPreferenceValue(const base::ListValue* args); |
|
James Hawkins
2012/06/12 15:48:14
nit: Document methods.
James Hawkins
2012/06/12 15:48:14
nit: These don't need to be public, I imagine.
Kevin Greer
2012/06/12 18:01:53
Documentation moved from .cc to .h.
On 2012/06/12
Kevin Greer
2012/06/12 18:01:53
Made private.
On 2012/06/12 15:48:14, James Hawkin
Kevin Greer
2012/06/12 18:01:53
Done.
|
| + void SetPreferenceValue(const base::ListValue* args); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(GestureConfigUI); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_GESTURE_CONFIG_UI_H_ |