| OLD | NEW |
| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 // Used when showing the menu allowing the user to choose when the bar is | 377 // Used when showing the menu allowing the user to choose when the bar is |
| 378 // visible. Updates the preferences to match the users choice as appropriate. | 378 // visible. Updates the preferences to match the users choice as appropriate. |
| 379 virtual void ExecuteCommand(int id); | 379 virtual void ExecuteCommand(int id); |
| 380 | 380 |
| 381 // NotificationService method. | 381 // NotificationService method. |
| 382 virtual void Observe(NotificationType type, | 382 virtual void Observe(NotificationType type, |
| 383 const NotificationSource& source, | 383 const NotificationSource& source, |
| 384 const NotificationDetails& details); | 384 const NotificationDetails& details); |
| 385 | 385 |
| 386 // Overridden from views::View. | 386 // Overridden from views::View. |
| 387 virtual void ThemeChanged(); | 387 virtual void OnThemeChanged(); |
| 388 | 388 |
| 389 // If the ModelChangedListener is non-null, ModelChanged is invoked on it. | 389 // If the ModelChangedListener is non-null, ModelChanged is invoked on it. |
| 390 void NotifyModelChanged(); | 390 void NotifyModelChanged(); |
| 391 | 391 |
| 392 // Shows the menu used during drag and drop for the specified node. | 392 // Shows the menu used during drag and drop for the specified node. |
| 393 void ShowDropFolderForNode(const BookmarkNode* node); | 393 void ShowDropFolderForNode(const BookmarkNode* node); |
| 394 | 394 |
| 395 // Cancels the timer used to show a drop menu. | 395 // Cancels the timer used to show a drop menu. |
| 396 void StopShowFolderDropMenuTimer(); | 396 void StopShowFolderDropMenuTimer(); |
| 397 | 397 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 // overflow_button_ or a button on the bar. | 488 // overflow_button_ or a button on the bar. |
| 489 views::CustomButton* throbbing_view_; | 489 views::CustomButton* throbbing_view_; |
| 490 | 490 |
| 491 // Background for extension toolstrips. | 491 // Background for extension toolstrips. |
| 492 SkBitmap toolstrip_background_; | 492 SkBitmap toolstrip_background_; |
| 493 | 493 |
| 494 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 494 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
| 495 }; | 495 }; |
| 496 | 496 |
| 497 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_ | 497 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |