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/base_drag_source.h" | 9 #include "base/base_drag_source.h" |
10 #include "chrome/app/theme/theme_resources.h" | 10 #include "grit/theme_resources.h" |
11 #include "chrome/browser/bookmarks/bookmark_context_menu.h" | 11 #include "chrome/browser/bookmarks/bookmark_context_menu.h" |
12 #include "chrome/browser/bookmarks/bookmark_utils.h" | 12 #include "chrome/browser/bookmarks/bookmark_utils.h" |
13 #include "chrome/browser/browser.h" | 13 #include "chrome/browser/browser.h" |
14 #include "chrome/browser/browser_list.h" | 14 #include "chrome/browser/browser_list.h" |
15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/browser_window.h" | 16 #include "chrome/browser/browser_window.h" |
17 #include "chrome/browser/drag_utils.h" | 17 #include "chrome/browser/drag_utils.h" |
18 #include "chrome/browser/download/download_util.h" | 18 #include "chrome/browser/download/download_util.h" |
19 #include "chrome/browser/history/history.h" | 19 #include "chrome/browser/history/history.h" |
20 #include "chrome/browser/metrics/user_metrics.h" | 20 #include "chrome/browser/metrics/user_metrics.h" |
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1847 } | 1847 } |
1848 | 1848 |
1849 void BookmarkBarView::StopThrobbing(bool immediate) { | 1849 void BookmarkBarView::StopThrobbing(bool immediate) { |
1850 if (!throbbing_view_) | 1850 if (!throbbing_view_) |
1851 return; | 1851 return; |
1852 | 1852 |
1853 // If not immediate, cycle through 2 more complete cycles. | 1853 // If not immediate, cycle through 2 more complete cycles. |
1854 throbbing_view_->StartThrobbing(immediate ? 0 : 4); | 1854 throbbing_view_->StartThrobbing(immediate ? 0 : 4); |
1855 throbbing_view_ = NULL; | 1855 throbbing_view_ = NULL; |
1856 } | 1856 } |
OLD | NEW |