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 #include "chrome/browser/views/tabs/base_tab_strip.h" | 5 #include "chrome/browser/views/tabs/base_tab_strip.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/view_ids.h" | 8 #include "chrome/browser/ui/view_ids.h" |
9 #include "chrome/browser/views/tabs/dragged_tab_controller.h" | 9 #include "chrome/browser/ui/views/tabs/dragged_tab_controller.h" |
10 #include "chrome/browser/views/tabs/tab_strip_controller.h" | 10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
11 #include "views/widget/root_view.h" | 11 #include "views/widget/root_view.h" |
12 #include "views/window/window.h" | 12 #include "views/window/window.h" |
13 | 13 |
14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
15 #include "app/win_util.h" | 15 #include "app/win_util.h" |
16 #include "views/widget/widget_win.h" | 16 #include "views/widget/widget_win.h" |
17 #endif | 17 #endif |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 464 |
465 StopAnimating(false); | 465 StopAnimating(false); |
466 | 466 |
467 GenerateIdealBounds(); | 467 GenerateIdealBounds(); |
468 | 468 |
469 for (int i = 0; i < tab_count(); ++i) | 469 for (int i = 0; i < tab_count(); ++i) |
470 tab_data_[i].tab->SetBounds(tab_data_[i].ideal_bounds); | 470 tab_data_[i].tab->SetBounds(tab_data_[i].ideal_bounds); |
471 | 471 |
472 SchedulePaint(); | 472 SchedulePaint(); |
473 } | 473 } |
OLD | NEW |