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

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

Issue 2354193002: Revert "MD History: promote menu button to show clear browsing data in narrow mode" (Closed)
Patch Set: Created 4 years, 3 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 | « chrome/browser/resources/md_history/history_toolbar.js ('k') | chrome/browser/ui/webui/md_history_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_history_ui.h
diff --git a/chrome/browser/ui/webui/md_history_ui.h b/chrome/browser/ui/webui/md_history_ui.h
index 2b99bac9ee3c743d1b8d020dd1019f90c48eae17..2d025de2698b28aec0bf3428fea3ff5db1c8b0b5 100644
--- a/chrome/browser/ui/webui/md_history_ui.h
+++ b/chrome/browser/ui/webui/md_history_ui.h
@@ -12,18 +12,9 @@
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);
@@ -34,17 +25,10 @@ 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);
};
« no previous file with comments | « chrome/browser/resources/md_history/history_toolbar.js ('k') | chrome/browser/ui/webui/md_history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698