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 "views/controls/tabbed_pane/native_tabbed_pane_gtk.h" | 5 #include "views/controls/tabbed_pane/native_tabbed_pane_gtk.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "gfx/canvas.h" | 12 #include "ui/gfx/canvas.h" |
13 #include "gfx/font.h" | 13 #include "ui/gfx/font.h" |
14 #include "gfx/skia_utils_gtk.h" | 14 #include "ui/gfx/skia_utils_gtk.h" |
15 #include "views/background.h" | 15 #include "views/background.h" |
16 #include "views/controls/tabbed_pane/tabbed_pane.h" | 16 #include "views/controls/tabbed_pane/tabbed_pane.h" |
17 #include "views/layout/fill_layout.h" | 17 #include "views/layout/fill_layout.h" |
18 #include "views/widget/root_view.h" | 18 #include "views/widget/root_view.h" |
19 #include "views/widget/widget_gtk.h" | 19 #include "views/widget/widget_gtk.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
23 //////////////////////////////////////////////////////////////////////////////// | 23 //////////////////////////////////////////////////////////////////////////////// |
24 // NativeTabbedPaneGtk, public: | 24 // NativeTabbedPaneGtk, public: |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 //////////////////////////////////////////////////////////////////////////////// | 222 //////////////////////////////////////////////////////////////////////////////// |
223 // NativeTabbedPaneWrapper, public: | 223 // NativeTabbedPaneWrapper, public: |
224 | 224 |
225 // static | 225 // static |
226 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( | 226 NativeTabbedPaneWrapper* NativeTabbedPaneWrapper::CreateNativeWrapper( |
227 TabbedPane* tabbed_pane) { | 227 TabbedPane* tabbed_pane) { |
228 return new NativeTabbedPaneGtk(tabbed_pane); | 228 return new NativeTabbedPaneGtk(tabbed_pane); |
229 } | 229 } |
230 | 230 |
231 } // namespace views | 231 } // namespace views |
OLD | NEW |