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 "views/controls/tabbed_pane/native_tabbed_pane_win.h" | 5 #include "views/controls/tabbed_pane/native_tabbed_pane_win.h" |
6 | 6 |
7 #include <vssym32.h> | 7 #include <vssym32.h> |
8 | 8 |
9 #include "app/l10n_util_win.h" | 9 #include "app/l10n_util_win.h" |
10 #include "app/resource_bundle.h" | |
11 #include "base/logging.h" | 10 #include "base/logging.h" |
12 #include "base/stl_util-inl.h" | 11 #include "base/stl_util-inl.h" |
13 #include "gfx/canvas_skia.h" | 12 #include "gfx/canvas_skia.h" |
14 #include "gfx/font.h" | 13 #include "gfx/font.h" |
15 #include "gfx/native_theme_win.h" | 14 #include "gfx/native_theme_win.h" |
| 15 #include "ui/base/resource/resource_bundle.h" |
16 #include "views/controls/tabbed_pane/tabbed_pane.h" | 16 #include "views/controls/tabbed_pane/tabbed_pane.h" |
17 #include "views/fill_layout.h" | 17 #include "views/fill_layout.h" |
18 #include "views/widget/root_view.h" | 18 #include "views/widget/root_view.h" |
19 #include "views/widget/widget_win.h" | 19 #include "views/widget/widget_win.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
23 // A background object that paints the tab panel background which may be | 23 // A background object that paints the tab panel background which may be |
24 // rendered by the system visual styles system. | 24 // rendered by the system visual styles system. |
25 class TabBackground : public Background { | 25 class TabBackground : public Background { |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 //////////////////////////////////////////////////////////////////////////////// | 393 //////////////////////////////////////////////////////////////////////////////// |
394 // NativeTabbedPaneWrapper, public: | 394 // NativeTabbedPaneWrapper, public: |
395 | 395 |
396 // static | 396 // static |
397 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( | 397 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( |
398 TabbedPane* tabbed_pane) { | 398 TabbedPane* tabbed_pane) { |
399 return new NativeTabbedPaneWin(tabbed_pane); | 399 return new NativeTabbedPaneWin(tabbed_pane); |
400 } | 400 } |
401 | 401 |
402 } // namespace views | 402 } // namespace views |
OLD | NEW |