Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: views/controls/tabbed_pane/native_tabbed_pane_gtk.h

Issue 8658009: views: Move tabbed_pane directory to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix native_tabbed_pane_wrapper.h Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/focus/focus_traversal_unittest.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/tabbed_pane/native_tabbed_pane_gtk.h
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_gtk.h b/views/controls/tabbed_pane/native_tabbed_pane_gtk.h
deleted file mode 100644
index 28b32e6c58bc4ab572d3e26cb0b516e87c5c675f..0000000000000000000000000000000000000000
--- a/views/controls/tabbed_pane/native_tabbed_pane_gtk.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
-#define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "views/controls/native_control_gtk.h"
-#include "views/controls/tabbed_pane/native_tabbed_pane_wrapper.h"
-
-namespace views {
-
-class NativeTabbedPaneGtk : public NativeControlGtk,
- public NativeTabbedPaneWrapper {
- public:
- explicit NativeTabbedPaneGtk(TabbedPane* tabbed_pane);
- virtual ~NativeTabbedPaneGtk();
-
- // NativeControlGtk:
- virtual void CreateNativeControl() OVERRIDE;
-
- // NativeTabbedPaneWrapper:
- virtual void AddTab(const string16& title, View* contents) OVERRIDE;
- virtual void AddTabAtIndex(int index,
- const string16& title,
- View* contents,
- bool select_if_first_tab) OVERRIDE;
- virtual View* RemoveTabAtIndex(int index) OVERRIDE;
- virtual void SelectTabAt(int index) OVERRIDE;
- virtual int GetTabCount() OVERRIDE;
- virtual int GetSelectedTabIndex() OVERRIDE;
- virtual View* GetSelectedTab() OVERRIDE;
- virtual View* GetView() OVERRIDE;
- virtual void SetFocus() OVERRIDE;
- virtual gfx::Size GetPreferredSize() OVERRIDE;
- virtual gfx::NativeView GetTestingHandle() const OVERRIDE;
-
- // View:
- virtual FocusTraversable* GetFocusTraversable() OVERRIDE;
-
- private:
- void DoAddTabAtIndex(int index,
- const string16& title,
- View* contents,
- bool select_if_first_tab);
-
- // Returns the Widget containing the tab contents at |index|.
- Widget* GetWidgetAt(int index);
-
- View* GetTabViewAt(int index);
- void OnSwitchPage(int selected_tab_index);
-
- static void CallSwitchPage(GtkNotebook* widget,
- GtkNotebookPage* page,
- guint selected_tab_index,
- NativeTabbedPaneGtk* tabbed_pane);
-
- // The tabbed-pane we are bound to.
- TabbedPane* tabbed_pane_;
-
- DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneGtk);
-};
-
-} // namespace views
-
-#endif // VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
« no previous file with comments | « ui/views/focus/focus_traversal_unittest.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698