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

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

Issue 1143963002: Split NTPLoginHandler across chrome://apps and chrome://history. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp fixes Created 5 years, 7 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
« no previous file with comments | « chrome/browser/ui/webui/history_login_handler.cc ('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 <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
11 #include "base/scoped_observer.h" 12 #include "base/scoped_observer.h"
12 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
13 #include "base/task/cancelable_task_tracker.h" 14 #include "base/task/cancelable_task_tracker.h"
14 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
15 #include "base/values.h" 16 #include "base/values.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 "components/history/core/browser/web_history_service.h"
18 #include "content/public/browser/web_ui_controller.h" 19 #include "content/public/browser/web_ui_controller.h"
19 #include "content/public/browser/web_ui_message_handler.h" 20 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 history_service_observer_; 213 history_service_observer_;
213 214
214 base::WeakPtrFactory<BrowsingHistoryHandler> weak_factory_; 215 base::WeakPtrFactory<BrowsingHistoryHandler> weak_factory_;
215 216
216 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); 217 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler);
217 }; 218 };
218 219
219 class HistoryUI : public content::WebUIController { 220 class HistoryUI : public content::WebUIController {
220 public: 221 public:
221 explicit HistoryUI(content::WebUI* web_ui); 222 explicit HistoryUI(content::WebUI* web_ui);
223 ~HistoryUI() override;
222 224
223 static base::RefCountedMemory* GetFaviconResourceBytes( 225 static base::RefCountedMemory* GetFaviconResourceBytes(
224 ui::ScaleFactor scale_factor); 226 ui::ScaleFactor scale_factor);
225 227
226 private: 228 private:
227 DISALLOW_COPY_AND_ASSIGN(HistoryUI); 229 DISALLOW_COPY_AND_ASSIGN(HistoryUI);
228 }; 230 };
229 231
230 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 232 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_login_handler.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698