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

Unified Diff: chrome/browser/search/suggestions/suggestions_ui.h

Issue 1887403002: Create a WebUIController for chrome://suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move SuggestionsSource Created 4 years, 8 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/search/suggestions/suggestions_ui.h
diff --git a/chrome/browser/search/suggestions/suggestions_ui.h b/chrome/browser/search/suggestions/suggestions_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..feb7c51ac20bf3ddd8e082b132b4522d351ca0fd
--- /dev/null
+++ b/chrome/browser/search/suggestions/suggestions_ui.h
@@ -0,0 +1,30 @@
+// Copyright 2016 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_SEARCH_SUGGESTIONS_SUGGESTIONS_UI_H_
+#define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_UI_H_
+
+#include "base/macros.h"
+#include "content/public/browser/web_ui_controller.h"
+
+namespace content {
+class WebUI;
+}
+
+namespace suggestions {
+
+// The WebUIController for chrome://suggestions. Renders a webpage to list
+// SuggestionsService data.
+class SuggestionsUI : public content::WebUIController {
+ public:
+ explicit SuggestionsUI(content::WebUI* web_ui);
+ ~SuggestionsUI() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SuggestionsUI);
+};
+
+} // namespace suggestions
+
+#endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_UI_H_
« no previous file with comments | « chrome/browser/search/suggestions/suggestions_source.cc ('k') | chrome/browser/search/suggestions/suggestions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698