diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-17 17:26:04 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-17 17:26:04 +0000 |
commit | e69b30c51d7b4e6b3bd79ce48120b4a6acf4fa74 (patch) | |
tree | ef9d6e1368b0c5ff3366d1c0dd0a304c9aeedf42 /chrome/browser/bookmarks | |
parent | e59e02b869a44fa915861c89a3b251672935410a (diff) | |
download | chromium_src-e69b30c51d7b4e6b3bd79ce48120b4a6acf4fa74.zip chromium_src-e69b30c51d7b4e6b3bd79ce48120b4a6acf4fa74.tar.gz chromium_src-e69b30c51d7b4e6b3bd79ce48120b4a6acf4fa74.tar.bz2 |
bookmarks: Clean up the public API of BookmarkTabHelper.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11569033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_manager_extension_api.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/browser/bookmarks/bookmark_manager_extension_api.cc b/chrome/browser/bookmarks/bookmark_manager_extension_api.cc index 385e909..bfcd2be 100644 --- a/chrome/browser/bookmarks/bookmark_manager_extension_api.cc +++ b/chrome/browser/bookmarks/bookmark_manager_extension_api.cc @@ -163,18 +163,19 @@ BookmarkManagerExtensionEventRouter::BookmarkManagerExtensionEventRouter( web_contents_(web_contents) { BookmarkTabHelper* bookmark_tab_helper = BookmarkTabHelper::FromWebContents(web_contents_); - bookmark_tab_helper->SetBookmarkDragDelegate(this); + bookmark_tab_helper->set_bookmark_drag_delegate(this); } BookmarkManagerExtensionEventRouter::~BookmarkManagerExtensionEventRouter() { BookmarkTabHelper* bookmark_tab_helper = BookmarkTabHelper::FromWebContents(web_contents_); - if (bookmark_tab_helper->GetBookmarkDragDelegate() == this) - bookmark_tab_helper->SetBookmarkDragDelegate(NULL); + if (bookmark_tab_helper->bookmark_drag_delegate() == this) + bookmark_tab_helper->set_bookmark_drag_delegate(NULL); } void BookmarkManagerExtensionEventRouter::DispatchEvent( - const char* event_name, scoped_ptr<ListValue> args) { + const char* event_name, + scoped_ptr<ListValue> args) { if (!extensions::ExtensionSystem::Get(profile_)->event_router()) return; @@ -185,7 +186,8 @@ void BookmarkManagerExtensionEventRouter::DispatchEvent( } void BookmarkManagerExtensionEventRouter::DispatchDragEvent( - const BookmarkNodeData& data, const char* event_name) { + const BookmarkNodeData& data, + const char* event_name) { if (data.size() == 0) return; |