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

Side by Side Diff: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.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_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 const BookmarkNode* node) OVERRIDE; 226 const BookmarkNode* node) OVERRIDE;
227 virtual void BookmarkNodeChanged(BookmarkModel* model, 227 virtual void BookmarkNodeChanged(BookmarkModel* model,
228 const BookmarkNode* node) OVERRIDE; 228 const BookmarkNode* node) OVERRIDE;
229 // Invoked when a favicon has finished loading. 229 // Invoked when a favicon has finished loading.
230 virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, 230 virtual void BookmarkNodeFaviconChanged(BookmarkModel* model,
231 const BookmarkNode* node) OVERRIDE; 231 const BookmarkNode* node) OVERRIDE;
232 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, 232 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model,
233 const BookmarkNode* node) OVERRIDE; 233 const BookmarkNode* node) OVERRIDE;
234 234
235 // Overridden from NotificationObserver: 235 // Overridden from NotificationObserver:
236 virtual void Observe(NotificationType type, 236 virtual void Observe(int type,
237 const NotificationSource& source, 237 const NotificationSource& source,
238 const NotificationDetails& details); 238 const NotificationDetails& details);
239 239
240 GtkWidget* CreateBookmarkButton(const BookmarkNode* node); 240 GtkWidget* CreateBookmarkButton(const BookmarkNode* node);
241 GtkToolItem* CreateBookmarkToolItem(const BookmarkNode* node); 241 GtkToolItem* CreateBookmarkToolItem(const BookmarkNode* node);
242 242
243 void ConnectFolderButtonEvents(GtkWidget* widget, bool is_tool_item); 243 void ConnectFolderButtonEvents(GtkWidget* widget, bool is_tool_item);
244 244
245 // Finds the BookmarkNode from the model associated with |button|. 245 // Finds the BookmarkNode from the model associated with |button|.
246 const BookmarkNode* GetNodeForToolButton(GtkWidget* button); 246 const BookmarkNode* GetNodeForToolButton(GtkWidget* button);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 BooleanPrefMember edit_bookmarks_enabled_; 411 BooleanPrefMember edit_bookmarks_enabled_;
412 412
413 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_; 413 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_;
414 414
415 BookmarkBar::State bookmark_bar_state_; 415 BookmarkBar::State bookmark_bar_state_;
416 416
417 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk); 417 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk);
418 }; 418 };
419 419
420 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ 420 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_tab_helper.cc ('k') | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698