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

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

Issue 11886104: History: Add range navigation control for grouped visits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last edits Created 7 years, 10 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/history/history.js ('k') | chrome/browser/ui/webui/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/history_ui.h
diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/history_ui.h
index 9e792821d1349de6b0cadb616b1d4c4a834bffa3..d375b9ac2cf2b67c731d3469124bbb92e1705ee3 100644
--- a/chrome/browser/ui/webui/history_ui.h
+++ b/chrome/browser/ui/webui/history_ui.h
@@ -51,7 +51,7 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
// - WEEK: the last 7 days.
// - MONTH: the last calendar month.
enum Range {
- ALLTIME = 0,
+ ALL_TIME = 0,
WEEK = 1,
MONTH = 2
};
@@ -93,11 +93,11 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
bool ExtractIntegerValueAtIndex(
const base::ListValue* value, int index, int* out_int);
- // Set the query options for a month-wide query.
- void SetQueryTimeInMonths(history::QueryOptions* options);
+ // Set the query options for a week-wide query, |offset| weeks ago.
+ void SetQueryTimeInWeeks(int offset, history::QueryOptions* options);
- // Set the query options for a week-wide query.
- void SetQueryTimeInWeeks(history::QueryOptions* options);
+ // Sets the query options for a monthly query, |offset| months ago.
+ void SetQueryTimeInMonths(int offset, history::QueryOptions* options);
content::NotificationRegistrar registrar_;
« 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