| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 BrowsingHistoryHandler(); | 82 BrowsingHistoryHandler(); |
| 83 virtual ~BrowsingHistoryHandler(); | 83 virtual ~BrowsingHistoryHandler(); |
| 84 | 84 |
| 85 // WebUIMessageHandler implementation. | 85 // WebUIMessageHandler implementation. |
| 86 virtual void RegisterMessages() OVERRIDE; | 86 virtual void RegisterMessages() OVERRIDE; |
| 87 | 87 |
| 88 // Handler for the "queryHistory" message. | 88 // Handler for the "queryHistory" message. |
| 89 void HandleQueryHistory(const base::ListValue* args); | 89 void HandleQueryHistory(const base::ListValue* args); |
| 90 | 90 |
| 91 // Handler for the "removeUrlsOnOneDay" message. | |
| 92 void HandleRemoveUrlsOnOneDay(const base::ListValue* args); | |
| 93 | |
| 94 // Handler for the "removeVisits" message. | 91 // Handler for the "removeVisits" message. |
| 95 void HandleRemoveVisits(const base::ListValue* args); | 92 void HandleRemoveVisits(const base::ListValue* args); |
| 96 | 93 |
| 97 // Handler for "clearBrowsingData" message. | 94 // Handler for "clearBrowsingData" message. |
| 98 void HandleClearBrowsingData(const base::ListValue* args); | 95 void HandleClearBrowsingData(const base::ListValue* args); |
| 99 | 96 |
| 100 // Handler for "removeBookmark" message. | 97 // Handler for "removeBookmark" message. |
| 101 void HandleRemoveBookmark(const base::ListValue* args); | 98 void HandleRemoveBookmark(const base::ListValue* args); |
| 102 | 99 |
| 103 #if !defined(OS_ANDROID) | 100 #if !defined(OS_ANDROID) |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 static const GURL GetHistoryURLWithSearchText(const string16& text); | 223 static const GURL GetHistoryURLWithSearchText(const string16& text); |
| 227 | 224 |
| 228 static base::RefCountedMemory* GetFaviconResourceBytes( | 225 static base::RefCountedMemory* GetFaviconResourceBytes( |
| 229 ui::ScaleFactor scale_factor); | 226 ui::ScaleFactor scale_factor); |
| 230 | 227 |
| 231 private: | 228 private: |
| 232 DISALLOW_COPY_AND_ASSIGN(HistoryUI); | 229 DISALLOW_COPY_AND_ASSIGN(HistoryUI); |
| 233 }; | 230 }; |
| 234 | 231 |
| 235 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ | 232 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| OLD | NEW |