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

Unified Diff: chrome/browser/ui/webui/gesture_config_ui.h

Issue 10532005: Initial check-in of gesture config WebUI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed lates review comments. Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698