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

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

Issue 893323002: Add a basic stub Polymer settings page at chrome://md-settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Setting the upstream. Created 5 years, 11 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/md_settings_ui.h
diff --git a/chrome/browser/ui/webui/flash_ui.h b/chrome/browser/ui/webui/md_settings_ui.h
similarity index 56%
copy from chrome/browser/ui/webui/flash_ui.h
copy to chrome/browser/ui/webui/md_settings_ui.h
index 4493a6a60f1a8d3a6b2dca5545abfc878e3dd103..24b7c5e06f1d63ed9a1ad45896e88007fc9c8f93 100644
--- a/chrome/browser/ui/webui/flash_ui.h
+++ b/chrome/browser/ui/webui/md_settings_ui.h
@@ -2,8 +2,8 @@
// 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_FLASH_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_
+#ifndef CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/layout.h"
stevenjb 2015/02/04 02:19:16 not needed?
Oren Blasberg 2015/02/04 18:31:51 Done.
@@ -12,16 +12,16 @@ namespace base {
class RefCountedMemory;
stevenjb 2015/02/04 02:19:16 not needed?
Oren Blasberg 2015/02/04 18:31:51 Done.
}
stevenjb 2015/02/04 02:19:16 All classes should have a comment, even trivial on
Oren Blasberg 2015/02/04 18:31:51 Done.
-// The Web UI handler for about:flash.
-class FlashUI : public content::WebUIController {
+class MdSettingsUI : public content::WebUIController {
public:
- explicit FlashUI(content::WebUI* web_ui);
+ explicit MdSettingsUI(content::WebUI* web_ui);
+ ~MdSettingsUI() override;
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ScaleFactor scale_factor);
stevenjb 2015/02/04 02:19:16 elim
Oren Blasberg 2015/02/04 18:31:51 Done.
private:
- DISALLOW_COPY_AND_ASSIGN(FlashUI);
+ DISALLOW_COPY_AND_ASSIGN(MdSettingsUI);
};
-#endif // CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_
+#endif // CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_

Powered by Google App Engine
This is Rietveld 408576698