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

Side by Side Diff: chrome/browser/ui/bookmarks/bookmark_tab_helper.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 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_BOOKMARKS_BOOKMARK_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/tab_contents/tab_contents_observer.h" 9 #include "content/browser/tab_contents/tab_contents_observer.h"
10 #include "content/common/notification_observer.h" 10 #include "content/common/notification_observer.h"
(...skipping 30 matching lines...) Expand all
41 41
42 // Returns true if the bookmark bar should be shown detached. 42 // Returns true if the bookmark bar should be shown detached.
43 bool ShouldShowBookmarkBar(); 43 bool ShouldShowBookmarkBar();
44 44
45 // TabContentsObserver overrides: 45 // TabContentsObserver overrides:
46 virtual void DidNavigateMainFramePostCommit( 46 virtual void DidNavigateMainFramePostCommit(
47 const content::LoadCommittedDetails& details, 47 const content::LoadCommittedDetails& details,
48 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 48 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
49 49
50 // NotificationObserver overrides: 50 // NotificationObserver overrides:
51 virtual void Observe(NotificationType type, 51 virtual void Observe(int type,
52 const NotificationSource& source, 52 const NotificationSource& source,
53 const NotificationDetails& details) OVERRIDE; 53 const NotificationDetails& details) OVERRIDE;
54 54
55 // It is up to callers to call SetBookmarkDragDelegate(NULL) when 55 // It is up to callers to call SetBookmarkDragDelegate(NULL) when
56 // |bookmark_drag| is deleted since this class does not take ownership of 56 // |bookmark_drag| is deleted since this class does not take ownership of
57 // |bookmark_drag|. 57 // |bookmark_drag|.
58 void SetBookmarkDragDelegate( 58 void SetBookmarkDragDelegate(
59 BookmarkTabHelper::BookmarkDrag* bookmark_drag); 59 BookmarkTabHelper::BookmarkDrag* bookmark_drag);
60 // The BookmarkDragDelegate is used to forward bookmark drag and drop events 60 // The BookmarkDragDelegate is used to forward bookmark drag and drop events
61 // to extensions. 61 // to extensions.
(...skipping 17 matching lines...) Expand all
79 // by us. 79 // by us.
80 BookmarkTabHelperDelegate* delegate_; 80 BookmarkTabHelperDelegate* delegate_;
81 81
82 // Handles drag and drop event forwarding to extensions. 82 // Handles drag and drop event forwarding to extensions.
83 BookmarkDrag* bookmark_drag_; 83 BookmarkDrag* bookmark_drag_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(BookmarkTabHelper); 85 DISALLOW_COPY_AND_ASSIGN(BookmarkTabHelper);
86 }; 86 };
87 87
88 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_H_ 88 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc ('k') | chrome/browser/ui/bookmarks/bookmark_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698