| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/views/controls/tabbed_pane/native_tabbed_pane_views.h" | 5 #include "ui/views/controls/tabbed_pane/native_tabbed_pane_views.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 9 #include "ui/base/resource/resource_bundle.h" | 9 #include "ui/base/resource/resource_bundle.h" |
| 10 #include "ui/gfx/canvas_skia.h" | 10 #include "ui/gfx/canvas.h" |
| 11 #include "ui/gfx/font.h" | 11 #include "ui/gfx/font.h" |
| 12 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" | 12 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" |
| 13 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" | 13 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" |
| 14 #include "ui/views/layout/fill_layout.h" | 14 #include "ui/views/layout/fill_layout.h" |
| 15 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 | 18 |
| 19 const SkColor kTabTitleColor_Inactive = SkColorSetRGB(0x66, 0x66, 0x66); | 19 const SkColor kTabTitleColor_Inactive = SkColorSetRGB(0x66, 0x66, 0x66); |
| 20 const SkColor kTabTitleColor_Active = SkColorSetRGB(0x20, 0x20, 0x20); | 20 const SkColor kTabTitleColor_Active = SkColorSetRGB(0x20, 0x20, 0x20); |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 //////////////////////////////////////////////////////////////////////////////// | 401 //////////////////////////////////////////////////////////////////////////////// |
| 402 // NativeTabbedPaneWrapper, public: | 402 // NativeTabbedPaneWrapper, public: |
| 403 | 403 |
| 404 // static | 404 // static |
| 405 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( | 405 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( |
| 406 TabbedPane* tabbed_pane) { | 406 TabbedPane* tabbed_pane) { |
| 407 return new NativeTabbedPaneViews(tabbed_pane); | 407 return new NativeTabbedPaneViews(tabbed_pane); |
| 408 } | 408 } |
| 409 | 409 |
| 410 } // namespace views | 410 } // namespace views |
| OLD | NEW |