| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/bookmark_bar_view.h" | 5 #include "chrome/browser/views/bookmark_bar_view.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/string_util.h" |
| 9 #include "base/base_drag_source.h" | 10 #include "base/base_drag_source.h" |
| 10 #include "grit/theme_resources.h" | 11 #include "grit/theme_resources.h" |
| 11 #include "chrome/browser/bookmarks/bookmark_context_menu.h" | 12 #include "chrome/browser/bookmarks/bookmark_context_menu.h" |
| 12 #include "chrome/browser/bookmarks/bookmark_utils.h" | 13 #include "chrome/browser/bookmarks/bookmark_utils.h" |
| 13 #include "chrome/browser/browser.h" | 14 #include "chrome/browser/browser.h" |
| 14 #include "chrome/browser/browser_list.h" | 15 #include "chrome/browser/browser_list.h" |
| 15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 16 #include "chrome/browser/browser_window.h" | 17 #include "chrome/browser/browser_window.h" |
| 17 #include "chrome/browser/drag_utils.h" | 18 #include "chrome/browser/drag_utils.h" |
| 18 #include "chrome/browser/download/download_util.h" | 19 #include "chrome/browser/download/download_util.h" |
| (...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 } | 1851 } |
| 1851 | 1852 |
| 1852 void BookmarkBarView::StopThrobbing(bool immediate) { | 1853 void BookmarkBarView::StopThrobbing(bool immediate) { |
| 1853 if (!throbbing_view_) | 1854 if (!throbbing_view_) |
| 1854 return; | 1855 return; |
| 1855 | 1856 |
| 1856 // If not immediate, cycle through 2 more complete cycles. | 1857 // If not immediate, cycle through 2 more complete cycles. |
| 1857 throbbing_view_->StartThrobbing(immediate ? 0 : 4); | 1858 throbbing_view_->StartThrobbing(immediate ? 0 : 4); |
| 1858 throbbing_view_ = NULL; | 1859 throbbing_view_ = NULL; |
| 1859 } | 1860 } |
| OLD | NEW |