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

Side by Side Diff: chrome/browser/dom_ui/history_ui.h

Issue 28104: Enable history and downloads by default, port NewTabUI from DOMUIHost to DOMU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_host.h ('k') | chrome/browser/dom_ui/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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_DOM_UI_HISTORY_UI_H__ 5 #ifndef CHROME_BROWSER_DOM_UI_HISTORY_UI_H__
6 #define CHROME_BROWSER_DOM_UI_HISTORY_UI_H__ 6 #define CHROME_BROWSER_DOM_UI_HISTORY_UI_H__
7 7
8 #include "chrome/browser/browsing_data_remover.h" 8 #include "chrome/browser/browsing_data_remover.h"
9 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 9 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
10 #include "chrome/browser/dom_ui/dom_ui.h" 10 #include "chrome/browser/dom_ui/dom_ui.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); 78 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler);
79 }; 79 };
80 80
81 class HistoryUI : public DOMUI { 81 class HistoryUI : public DOMUI {
82 public: 82 public:
83 explicit HistoryUI(DOMUIContents* contents); 83 explicit HistoryUI(DOMUIContents* contents);
84 84
85 // Return the URL for the front page of this UI. 85 // Return the URL for the front page of this UI.
86 static GURL GetBaseURL(); 86 static GURL GetBaseURL();
87 87
88 // Return the URL for a given search term.
89 static const GURL GetHistoryURLWithSearchText(const std::wstring& text);
90
88 // DOMUI Implementation 91 // DOMUI Implementation
89 virtual void Init(); 92 virtual void Init();
90 93
91 private: 94 private:
92 DOMUIContents* contents_; 95 DOMUIContents* contents_;
93 96
94 DISALLOW_COPY_AND_ASSIGN(HistoryUI); 97 DISALLOW_COPY_AND_ASSIGN(HistoryUI);
95 }; 98 };
96 99
97 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H__ 100 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H__
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_host.h ('k') | chrome/browser/dom_ui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698