OLD | NEW |
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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); | 88 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); |
89 }; | 89 }; |
90 | 90 |
91 class HistoryUI : public DOMUI { | 91 class HistoryUI : public DOMUI { |
92 public: | 92 public: |
93 explicit HistoryUI(TabContents* contents); | 93 explicit HistoryUI(TabContents* contents); |
94 | 94 |
95 // Return the URL for a given search term. | 95 // Return the URL for a given search term. |
96 static const GURL GetHistoryURLWithSearchText(const std::wstring& text); | 96 static const GURL GetHistoryURLWithSearchText(const std::wstring& text); |
97 | 97 |
98 static bool GetFaviconResourceBytes(std::vector<unsigned char>* bytes); | 98 static RefCountedMemory* GetFaviconResourceBytes(); |
99 | 99 |
100 private: | 100 private: |
101 DISALLOW_COPY_AND_ASSIGN(HistoryUI); | 101 DISALLOW_COPY_AND_ASSIGN(HistoryUI); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H_ | 104 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H_ |
OLD | NEW |