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

Side by Side Diff: chrome/browser/ui/webui/ntp/bookmarks_handler.h

Issue 8537007: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/webui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
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_NTP_BOOKMARKS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_BOOKMARKS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_BOOKMARKS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_BOOKMARKS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 9 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
10 #include "content/browser/webui/web_ui.h" 10 #include "content/browser/webui/web_ui.h"
11 11
12 class PrefService; 12 class PrefService;
13 class Profile;
14 13
15 // The handler for Javascript messages related to the "bookmarks" view. 14 // The handler for Javascript messages related to the "bookmarks" view.
16 class BookmarksHandler : public WebUIMessageHandler, 15 class BookmarksHandler : public WebUIMessageHandler,
17 public BookmarkModelObserver { 16 public BookmarkModelObserver {
18 public: 17 public:
19 explicit BookmarksHandler(); 18 explicit BookmarksHandler();
20 virtual ~BookmarksHandler(); 19 virtual ~BookmarksHandler();
21 20
22 // WebUIMessageHandler implementation. 21 // WebUIMessageHandler implementation.
23 virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE; 22 virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // True if the DOM layer is ready. 85 // True if the DOM layer is ready.
87 bool dom_ready_; 86 bool dom_ready_;
88 87
89 // True when we are handling a chrome.send call. 88 // True when we are handling a chrome.send call.
90 bool from_current_page_; 89 bool from_current_page_;
91 90
92 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler); 91 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler);
93 }; 92 };
94 93
95 #endif // CHROME_BROWSER_UI_WEBUI_NTP_BOOKMARKS_HANDLER_H_ 94 #endif // CHROME_BROWSER_UI_WEBUI_NTP_BOOKMARKS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.h ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698