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

Side by Side Diff: chrome/browser/ui/webui/md_feedback/md_feedback_ui.h

Issue 2021753005: [MD Feedback] Add basic chrome://feedback dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per imcheng@'s comments. Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/md_feedback/md_feedback_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MD_FEEDBACK_MD_FEEDBACK_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/web_ui_controller.h" 9 #include "content/public/browser/web_ui_controller.h"
10 10
11 namespace content {
12 class BrowserContext;
13 } // namespace content
14
11 // The WebUI for chrome://feedback. 15 // The WebUI for chrome://feedback.
12 class MdFeedbackUI : public content::WebUIController { 16 class MdFeedbackUI : public content::WebUIController {
13 public: 17 public:
14 explicit MdFeedbackUI(content::WebUI* web_ui); 18 explicit MdFeedbackUI(content::WebUI* web_ui);
15 ~MdFeedbackUI() override; 19 ~MdFeedbackUI() override;
16 private: 20 private:
17 DISALLOW_COPY_AND_ASSIGN(MdFeedbackUI); 21 DISALLOW_COPY_AND_ASSIGN(MdFeedbackUI);
18 }; 22 };
19 23
24 // Create and show a web dialog with the MD feedback UI.
25 // |browser_context| Is used to constructed the HTML dialog's WebContents.
26 void ShowFeedbackWebDialog(
27 content::BrowserContext* browser_context);
28
20 #endif // CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_ 29 #endif // CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/md_feedback/md_feedback_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698