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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_ui.h

Issue 1015533019: Add settings:: namespace to MdSettingsUi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Builds successfully. Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SETTINGS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_UI_H_
7 7
8 #include "chrome/browser/ui/webui/options/core_options_handler.h" 8 #include "chrome/browser/ui/webui/options/core_options_handler.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 #include "content/public/browser/web_ui_controller.h" 10 #include "content/public/browser/web_ui_controller.h"
11 11
12 // The WebUI handler for chrome://md-settings. 12 // The WebUI handler for chrome://md-settings.
13 class MdSettingsUI : public content::WebUIController, 13 class MdSettingsUI : public content::WebUIController,
14 public options::OptionsPageUIHandlerHost { 14 public options::OptionsPageUIHandlerHost {
15 public: 15 public:
16 explicit MdSettingsUI(content::WebUI* web_ui); 16 explicit MdSettingsUI(content::WebUI* web_ui);
17 ~MdSettingsUI() override; 17 ~MdSettingsUI() override;
18 18
19 // OptionsPageUIHandlerHost: 19 // OptionsPageUIHandlerHost:
20 void InitializeHandlers() override; 20 void InitializeHandlers() override;
21 21
22 private: 22 private:
23 options::CoreOptionsHandler* core_handler_; 23 options::CoreOptionsHandler* core_handler_;
24 24
25 DISALLOW_COPY_AND_ASSIGN(MdSettingsUI); 25 DISALLOW_COPY_AND_ASSIGN(MdSettingsUI);
26 }; 26 };
27 27
28 #endif // CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ 28 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/md_settings_ui.cc ('k') | chrome/browser/ui/webui/settings/md_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698