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

Side by Side Diff: chrome/browser/views/bookmark_bar_view.h

Issue 2878055: Make theme change notifications auto-propagate through the view hierarchy, in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_BOOKMARK_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "app/slide_animation.h" 10 #include "app/slide_animation.h"
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // Used when showing the menu allowing the user to choose when the bar is 374 // Used when showing the menu allowing the user to choose when the bar is
375 // visible. Updates the preferences to match the users choice as appropriate. 375 // visible. Updates the preferences to match the users choice as appropriate.
376 virtual void ExecuteCommand(int id); 376 virtual void ExecuteCommand(int id);
377 377
378 // NotificationService method. 378 // NotificationService method.
379 virtual void Observe(NotificationType type, 379 virtual void Observe(NotificationType type,
380 const NotificationSource& source, 380 const NotificationSource& source,
381 const NotificationDetails& details); 381 const NotificationDetails& details);
382 382
383 // Overridden from views::View. 383 // Overridden from views::View.
384 virtual void ThemeChanged(); 384 virtual void OnThemeChanged();
385 385
386 // If the ModelChangedListener is non-null, ModelChanged is invoked on it. 386 // If the ModelChangedListener is non-null, ModelChanged is invoked on it.
387 void NotifyModelChanged(); 387 void NotifyModelChanged();
388 388
389 // Shows the menu used during drag and drop for the specified node. 389 // Shows the menu used during drag and drop for the specified node.
390 void ShowDropFolderForNode(const BookmarkNode* node); 390 void ShowDropFolderForNode(const BookmarkNode* node);
391 391
392 // Cancels the timer used to show a drop menu. 392 // Cancels the timer used to show a drop menu.
393 void StopShowFolderDropMenuTimer(); 393 void StopShowFolderDropMenuTimer();
394 394
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 // overflow_button_ or a button on the bar. 485 // overflow_button_ or a button on the bar.
486 views::CustomButton* throbbing_view_; 486 views::CustomButton* throbbing_view_;
487 487
488 // Background for extension toolstrips. 488 // Background for extension toolstrips.
489 SkBitmap toolstrip_background_; 489 SkBitmap toolstrip_background_;
490 490
491 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 491 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
492 }; 492 };
493 493
494 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_ 494 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_instructions_view.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698