diff options
Diffstat (limited to 'views/controls/tabbed_pane')
-rw-r--r-- | views/controls/tabbed_pane/native_tabbed_pane_win.cc | 4 | ||||
-rw-r--r-- | views/controls/tabbed_pane/native_tabbed_pane_win.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.cc b/views/controls/tabbed_pane/native_tabbed_pane_win.cc index bc8b33f..aa651ac 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_win.cc +++ b/views/controls/tabbed_pane/native_tabbed_pane_win.cc @@ -15,8 +15,8 @@ #include "ui/gfx/native_theme_win.h" #include "views/controls/tabbed_pane/tabbed_pane.h" #include "views/layout/fill_layout.h" -#include "views/widget/native_widget_win.h" #include "views/widget/root_view.h" +#include "views/widget/widget_win.h" namespace views { @@ -288,7 +288,7 @@ void NativeTabbedPaneWin::CreateNativeControl() { SendMessage(tab_control, WM_SETFONT, reinterpret_cast<WPARAM>(font), FALSE); // Create the view container which is a child of the TabControl. - content_window_ = new NativeWidgetWin; + content_window_ = new WidgetWin(); content_window_->Init(tab_control, gfx::Rect()); // Explicitly setting the WS_EX_LAYOUTRTL property for the HWND (see above diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.h b/views/controls/tabbed_pane/native_tabbed_pane_win.h index 37e0f79..8eac285 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_win.h +++ b/views/controls/tabbed_pane/native_tabbed_pane_win.h @@ -13,7 +13,7 @@ namespace views { -class NativeWidgetWin; +class WidgetWin; class TabLayout; class NativeTabbedPaneWin : public NativeControlWin, @@ -86,7 +86,7 @@ class NativeTabbedPaneWin : public NativeControlWin, int selected_index_; // The window displayed in the tab. - NativeWidgetWin* content_window_; + WidgetWin* content_window_; DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneWin); }; |