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 "base/gfx/skia_utils.h" | 10 #include "base/gfx/skia_utils.h" |
11 #include "chrome/app/theme/theme_resources.h" | 11 #include "chrome/app/theme/theme_resources.h" |
12 #include "chrome/browser/bookmark_bar_context_menu_controller.h" | 12 #include "chrome/browser/bookmark_bar_context_menu_controller.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_util.h" | 18 #include "chrome/browser/download/download_util.h" |
19 #include "chrome/browser/history/history_backend.h" | 19 #include "chrome/browser/history/history_backend.h" |
20 #include "chrome/browser/history/history_database.h" | 20 #include "chrome/browser/history/history_database.h" |
21 #include "chrome/browser/history/history.h" | 21 #include "chrome/browser/history/history.h" |
22 #include "chrome/browser/page_navigator.h" | 22 #include "chrome/browser/page_navigator.h" |
23 #include "chrome/browser/profile.h" | 23 #include "chrome/browser/profile.h" |
24 #include "chrome/browser/tab_contents.h" | 24 #include "chrome/browser/tab_contents.h" |
25 #include "chrome/browser/user_metrics.h" | 25 #include "chrome/browser/user_metrics.h" |
26 #include "chrome/browser/view_ids.h" | 26 #include "chrome/browser/view_ids.h" |
27 #include "chrome/browser/views/bookmark_editor_view.h" | 27 #include "chrome/browser/views/bookmark_editor_view.h" |
28 #include "chrome/browser/views/event_utils.h" | 28 #include "chrome/browser/views/event_utils.h" |
(...skipping 1802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1831 | 1831 |
1832 void BookmarkBarView::StopThrobbing(bool immediate) { | 1832 void BookmarkBarView::StopThrobbing(bool immediate) { |
1833 if (!throbbing_view_) | 1833 if (!throbbing_view_) |
1834 return; | 1834 return; |
1835 | 1835 |
1836 // If not immediate, cycle through 2 more complete cycles. | 1836 // If not immediate, cycle through 2 more complete cycles. |
1837 throbbing_view_->StartThrobbing(immediate ? 0 : 4); | 1837 throbbing_view_->StartThrobbing(immediate ? 0 : 4); |
1838 throbbing_view_ = NULL; | 1838 throbbing_view_ = NULL; |
1839 } | 1839 } |
1840 | 1840 |
OLD | NEW |