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

Unified 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, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/md_feedback/md_feedback_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/md_feedback/md_feedback_ui.h
diff --git a/chrome/browser/ui/webui/md_feedback/md_feedback_ui.h b/chrome/browser/ui/webui/md_feedback/md_feedback_ui.h
index f9d7d9e285ce7c6d346507eebe4b6e6b66ec5045..202a6edaae32f4feb09a4b269d830c470607dcf6 100644
--- a/chrome/browser/ui/webui/md_feedback/md_feedback_ui.h
+++ b/chrome/browser/ui/webui/md_feedback/md_feedback_ui.h
@@ -8,6 +8,10 @@
#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"
+namespace content {
+class BrowserContext;
+} // namespace content
+
// The WebUI for chrome://feedback.
class MdFeedbackUI : public content::WebUIController {
public:
@@ -17,4 +21,9 @@ class MdFeedbackUI : public content::WebUIController {
DISALLOW_COPY_AND_ASSIGN(MdFeedbackUI);
};
+// Create and show a web dialog with the MD feedback UI.
+// |browser_context| Is used to constructed the HTML dialog's WebContents.
+void ShowFeedbackWebDialog(
+ content::BrowserContext* browser_context);
+
#endif // CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_UI_H_
« 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