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

Unified Diff: chrome/browser/ui/webui/ntp/bookmarks_handler.h

Issue 7610014: [ntp4] Bookmarks page implementation, first-pass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Final review tweaks, rebase. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/bookmarks_handler.h
===================================================================
--- chrome/browser/ui/webui/ntp/bookmarks_handler.h (revision 96850)
+++ chrome/browser/ui/webui/ntp/bookmarks_handler.h (working copy)
@@ -9,6 +9,9 @@
#include "content/browser/webui/web_ui.h"
#include "content/common/notification_observer.h"
+class PrefService;
+class Profile;
+
// The handler for Javascript messages related to the "bookmarks" view.
class BookmarksHandler : public WebUIMessageHandler,
public NotificationObserver {
@@ -24,6 +27,12 @@
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
+ // Callback for the "getBookmarksData" message.
+ void HandleGetBookmarksData(const base::ListValue* args);
+
+ // Register NTP preferences.
+ static void RegisterUserPrefs(PrefService* prefs);
+
private:
DISALLOW_COPY_AND_ASSIGN(BookmarksHandler);
};

Powered by Google App Engine
This is Rietveld 408576698