| Index: chrome/browser/ui/webui/md_history_ui.h
|
| diff --git a/chrome/browser/ui/webui/md_history_ui.h b/chrome/browser/ui/webui/md_history_ui.h
|
| index 2d025de2698b28aec0bf3428fea3ff5db1c8b0b5..2b99bac9ee3c743d1b8d020dd1019f90c48eae17 100644
|
| --- a/chrome/browser/ui/webui/md_history_ui.h
|
| +++ b/chrome/browser/ui/webui/md_history_ui.h
|
| @@ -12,9 +12,18 @@
|
| class Profile;
|
|
|
| namespace base {
|
| +class ListValue;
|
| class RefCountedMemory;
|
| }
|
|
|
| +namespace content {
|
| +class WebUIDataSource;
|
| +}
|
| +
|
| +namespace user_prefs {
|
| +class PrefRegistrySyncable;
|
| +}
|
| +
|
| class MdHistoryUI : public content::WebUIController {
|
| public:
|
| explicit MdHistoryUI(content::WebUI* web_ui);
|
| @@ -25,10 +34,17 @@ class MdHistoryUI : public content::WebUIController {
|
| // Reset the current list of features and explicitly set MD History enabled.
|
| static void SetEnabledForTesting(bool enabled);
|
|
|
| + static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
| +
|
| static base::RefCountedMemory* GetFaviconResourceBytes(
|
| ui::ScaleFactor scale_factor);
|
|
|
| private:
|
| + // Handler for the "menuPromoShown" message from the page. No arguments.
|
| + void HandleMenuPromoShown(const base::ListValue* args);
|
| +
|
| + content::WebUIDataSource* data_source_; // weak
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MdHistoryUI);
|
| };
|
|
|
|
|