| 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_UI_WEBUI_BOOKMARKS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_BOOKMARKS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_BOOKMARKS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_BOOKMARKS_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 virtual std::string GetMimeType(const std::string& path) const OVERRIDE; | 26 virtual std::string GetMimeType(const std::string& path) const OVERRIDE; |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(BookmarksUIHTMLSource); | 29 DISALLOW_COPY_AND_ASSIGN(BookmarksUIHTMLSource); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 // This class is used to hook up chrome://bookmarks/ which in turn gets | 32 // This class is used to hook up chrome://bookmarks/ which in turn gets |
| 33 // overridden by an extension. | 33 // overridden by an extension. |
| 34 class BookmarksUI : public ChromeWebUI { | 34 class BookmarksUI : public ChromeWebUI { |
| 35 public: | 35 public: |
| 36 explicit BookmarksUI(TabContents* contents); | 36 explicit BookmarksUI(content::WebContents* contents); |
| 37 | 37 |
| 38 static RefCountedMemory* GetFaviconResourceBytes(); | 38 static RefCountedMemory* GetFaviconResourceBytes(); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(BookmarksUI); | 41 DISALLOW_COPY_AND_ASSIGN(BookmarksUI); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // CHROME_BROWSER_UI_WEBUI_BOOKMARKS_UI_H_ | 44 #endif // CHROME_BROWSER_UI_WEBUI_BOOKMARKS_UI_H_ |
| OLD | NEW |