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/views/tabbed_pane.h" | 5 #include "chrome/views/tabbed_pane.h" |
6 | 6 |
7 #include <vssym32.h> | 7 #include <vssym32.h> |
8 | 8 |
9 #include "base/gfx/native_theme.h" | 9 #include "base/gfx/native_theme.h" |
10 #include "base/gfx/skia_utils.h" | |
11 #include "base/logging.h" | 10 #include "base/logging.h" |
12 #include "chrome/common/gfx/chrome_canvas.h" | 11 #include "chrome/common/gfx/chrome_canvas.h" |
13 #include "chrome/common/gfx/chrome_font.h" | 12 #include "chrome/common/gfx/chrome_font.h" |
14 #include "chrome/common/l10n_util.h" | 13 #include "chrome/common/l10n_util.h" |
15 #include "chrome/common/resource_bundle.h" | 14 #include "chrome/common/resource_bundle.h" |
16 #include "chrome/common/stl_util-inl.h" | 15 #include "chrome/common/stl_util-inl.h" |
17 #include "chrome/common/throb_animation.h" | 16 #include "chrome/common/throb_animation.h" |
18 #include "chrome/views/background.h" | 17 #include "chrome/views/background.h" |
19 #include "chrome/views/root_view.h" | 18 #include "chrome/views/root_view.h" |
20 #include "chrome/views/widget_win.h" | 19 #include "chrome/views/widget_win.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 if (!GetClientRect(tab_control, &content_bounds)) | 244 if (!GetClientRect(tab_control, &content_bounds)) |
246 return; | 245 return; |
247 TabCtrl_AdjustRect(tab_control, FALSE, &content_bounds); | 246 TabCtrl_AdjustRect(tab_control, FALSE, &content_bounds); |
248 content_window_->MoveWindow(content_bounds.left, content_bounds.top, | 247 content_window_->MoveWindow(content_bounds.left, content_bounds.top, |
249 content_bounds.Width(), content_bounds.Height(), | 248 content_bounds.Width(), content_bounds.Height(), |
250 TRUE); | 249 TRUE); |
251 } | 250 } |
252 | 251 |
253 } // namespace views | 252 } // namespace views |
254 | 253 |
OLD | NEW |