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

Side by Side Diff: chrome/browser/ui/webui/history_ui.h

Issue 14046016: History UI: Apply the pref that prohibits deleting browsing and download history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed .gypi Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HISTORY_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "base/timer.h" 9 #include "base/timer.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 BrowsingHistoryHandler(); 86 BrowsingHistoryHandler();
87 virtual ~BrowsingHistoryHandler(); 87 virtual ~BrowsingHistoryHandler();
88 88
89 // WebUIMessageHandler implementation. 89 // WebUIMessageHandler implementation.
90 virtual void RegisterMessages() OVERRIDE; 90 virtual void RegisterMessages() OVERRIDE;
91 91
92 // Handler for the "queryHistory" message. 92 // Handler for the "queryHistory" message.
93 void HandleQueryHistory(const base::ListValue* args); 93 void HandleQueryHistory(const base::ListValue* args);
94 94
95 // Handler for the "removeUrlsOnOneDay" message.
96 void HandleRemoveUrlsOnOneDay(const base::ListValue* args);
97
98 // Handler for the "removeVisits" message. 95 // Handler for the "removeVisits" message.
99 void HandleRemoveVisits(const base::ListValue* args); 96 void HandleRemoveVisits(const base::ListValue* args);
100 97
101 // Handler for "clearBrowsingData" message. 98 // Handler for "clearBrowsingData" message.
102 void HandleClearBrowsingData(const base::ListValue* args); 99 void HandleClearBrowsingData(const base::ListValue* args);
103 100
104 // Handler for "removeBookmark" message. 101 // Handler for "removeBookmark" message.
105 void HandleRemoveBookmark(const base::ListValue* args); 102 void HandleRemoveBookmark(const base::ListValue* args);
106 103
107 #if !defined(OS_ANDROID) 104 #if !defined(OS_ANDROID)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 static const GURL GetHistoryURLWithSearchText(const string16& text); 227 static const GURL GetHistoryURLWithSearchText(const string16& text);
231 228
232 static base::RefCountedMemory* GetFaviconResourceBytes( 229 static base::RefCountedMemory* GetFaviconResourceBytes(
233 ui::ScaleFactor scale_factor); 230 ui::ScaleFactor scale_factor);
234 231
235 private: 232 private:
236 DISALLOW_COPY_AND_ASSIGN(HistoryUI); 233 DISALLOW_COPY_AND_ASSIGN(HistoryUI);
237 }; 234 };
238 235
239 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 236 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698