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

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

Issue 9728002: Removing deprecated GTK-Views code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months 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
Index: ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.h
diff --git a/ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.h b/ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.h
deleted file mode 100644
index b937cb28670f33dd015c9e6341ada943a9ae40ec..0000000000000000000000000000000000000000
--- a/ui/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 UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
-#define UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/views/controls/native_control_gtk.h"
-#include "ui/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 // UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar_gtk.cc ('k') | ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698