OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBUI_BOOKMARKS_UI_H_ | 5 #ifndef CHROME_BROWSER_WEBUI_BOOKMARKS_UI_H_ |
6 #define CHROME_BROWSER_WEBUI_BOOKMARKS_UI_H_ | 6 #define CHROME_BROWSER_WEBUI_BOOKMARKS_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 11 #include "chrome/browser/webui/chrome_url_data_manager.h" |
12 #include "chrome/browser/webui/web_ui.h" | 12 #include "chrome/browser/webui/web_ui.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 class RefCountedMemory; | 15 class RefCountedMemory; |
16 | 16 |
17 // This class provides the source for chrome://bookmarks/ | 17 // This class provides the source for chrome://bookmarks/ |
18 class BookmarksUIHTMLSource : public ChromeURLDataManager::DataSource { | 18 class BookmarksUIHTMLSource : public ChromeURLDataManager::DataSource { |
19 public: | 19 public: |
20 BookmarksUIHTMLSource(); | 20 BookmarksUIHTMLSource(); |
21 | 21 |
(...skipping 14 matching lines...) Expand all Loading... |
36 public: | 36 public: |
37 explicit BookmarksUI(TabContents* contents); | 37 explicit BookmarksUI(TabContents* contents); |
38 | 38 |
39 static RefCountedMemory* GetFaviconResourceBytes(); | 39 static RefCountedMemory* GetFaviconResourceBytes(); |
40 | 40 |
41 private: | 41 private: |
42 DISALLOW_COPY_AND_ASSIGN(BookmarksUI); | 42 DISALLOW_COPY_AND_ASSIGN(BookmarksUI); |
43 }; | 43 }; |
44 | 44 |
45 #endif // CHROME_BROWSER_WEBUI_BOOKMARKS_UI_H_ | 45 #endif // CHROME_BROWSER_WEBUI_BOOKMARKS_UI_H_ |
OLD | NEW |