| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |