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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/scoped_observer.h" | 11 #include "base/scoped_observer.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "chrome/browser/history/web_history_service.h" |
16 #include "components/history/core/browser/history_service_observer.h" | 17 #include "components/history/core/browser/history_service_observer.h" |
17 #include "components/history/core/browser/web_history_service.h" | |
18 #include "content/public/browser/web_ui_controller.h" | 18 #include "content/public/browser/web_ui_controller.h" |
19 #include "content/public/browser/web_ui_message_handler.h" | 19 #include "content/public/browser/web_ui_message_handler.h" |
20 #include "ui/base/layout.h" | |
21 | 20 |
22 class HistoryService; | 21 class HistoryService; |
23 class ProfileSyncService; | 22 class ProfileSyncService; |
24 class SupervisedUserService; | 23 class SupervisedUserService; |
25 | 24 |
26 namespace bookmarks { | 25 namespace bookmarks { |
27 class BookmarkModel; | 26 class BookmarkModel; |
28 } | 27 } |
29 | 28 |
30 // The handler for Javascript messages related to the "history" view. | 29 // The handler for Javascript messages related to the "history" view. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 explicit HistoryUI(content::WebUI* web_ui); | 217 explicit HistoryUI(content::WebUI* web_ui); |
219 | 218 |
220 static base::RefCountedMemory* GetFaviconResourceBytes( | 219 static base::RefCountedMemory* GetFaviconResourceBytes( |
221 ui::ScaleFactor scale_factor); | 220 ui::ScaleFactor scale_factor); |
222 | 221 |
223 private: | 222 private: |
224 DISALLOW_COPY_AND_ASSIGN(HistoryUI); | 223 DISALLOW_COPY_AND_ASSIGN(HistoryUI); |
225 }; | 224 }; |
226 | 225 |
227 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ | 226 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
OLD | NEW |