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

Unified Diff: chrome/browser/ui/webui/settings/system_handler.h

Issue 1814703004: MD Settings: implement "RESTART" button for hardware acceleration to take effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 9 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/settings/system_handler.h
diff --git a/chrome/browser/ui/webui/settings/system_handler.h b/chrome/browser/ui/webui/settings/system_handler.h
index ea7ca043a9fad8e78301b6026f9cc06c7b6ceb50..446cc5f24150e40efa15f21bb7c96655e0e246e8 100644
--- a/chrome/browser/ui/webui/settings/system_handler.h
+++ b/chrome/browser/ui/webui/settings/system_handler.h
@@ -12,6 +12,10 @@ namespace base {
class ListValue;
}
+namespace content {
+class WebUIDataSource;
+}
+
namespace settings {
class SystemHandler : public SettingsPageUIHandler {
@@ -19,6 +23,9 @@ class SystemHandler : public SettingsPageUIHandler {
SystemHandler();
~SystemHandler() override;
+ // Populates handler-specific loadTimeData values used by the system page.
+ static void AddLoadTimeData(content::WebUIDataSource* data_source);
+
// SettingsPageUIHandler:
void RegisterMessages() override;
@@ -26,6 +33,9 @@ class SystemHandler : public SettingsPageUIHandler {
// Handler for the "changeProxySettings" message. No args.
void HandleChangeProxySettings(const base::ListValue* /*args*/);
+ // Handler for the "restartBrowser" message. No args.
+ void HandleRestartBrowser(const base::ListValue* /*args*/);
+
DISALLOW_COPY_AND_ASSIGN(SystemHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_ui.cc ('k') | chrome/browser/ui/webui/settings/system_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698