summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_gtk.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 03:09:56 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 03:09:56 +0000
commit5795629c093248519fa3953b8f5526cf8328e123 (patch)
tree04565a914cad2a06f216ed597fa12ecf6b3ad98c /views/widget/widget_gtk.h
parent70de26018337a9764c3d290162916c54c6e47a18 (diff)
downloadchromium_src-5795629c093248519fa3953b8f5526cf8328e123.zip
chromium_src-5795629c093248519fa3953b8f5526cf8328e123.tar.gz
chromium_src-5795629c093248519fa3953b8f5526cf8328e123.tar.bz2
Get rid of most of the old method uses from WidgetGtk. I think this is safe.
Continuation of: Land the new functions added by 76483 - but do not use them anywhere outside of their tests. This will help me incrementally re-deploy these functions and identify what is causing the buildbot test redness. BUG=72040 TEST=none TBR=sky (all code originally reviewed here: http://codereview.chromium.org/6598069/ ) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r--views/widget/widget_gtk.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h
index d1c3ac6..91b8024 100644
--- a/views/widget/widget_gtk.h
+++ b/views/widget/widget_gtk.h
@@ -137,16 +137,10 @@ class WidgetGtk : public Widget,
// gets created. This will not be called on a TYPE_CHILD widget.
virtual void SetInitialFocus() {}
- // Gets the WidgetGtk in the userdata section of the widget.
- static WidgetGtk* GetViewForNative(GtkWidget* widget);
-
// Sets the drop target to NULL. This is invoked by DropTargetGTK when the
// drop is done.
void ResetDropTarget();
- // Returns the RootView for |widget|.
- static RootView* GetRootViewForWidget(GtkWidget* widget);
-
// Gets the requested size of the widget. This can be the size
// stored in properties for a GtkViewsFixed, or in the requisitioned
// size of other kinds of widgets.
@@ -169,7 +163,6 @@ class WidgetGtk : public Widget,
virtual gfx::NativeView GetNativeView() const;
virtual void SetOpacity(unsigned char opacity);
virtual void SetAlwaysOnTop(bool on_top);
- virtual Widget* GetRootWidget() const;
virtual bool IsVisible() const;
virtual bool IsActive() const;
virtual bool IsAccessibleWidget() const;
@@ -309,8 +302,6 @@ class WidgetGtk : public Widget,
// Process scroll event.
bool ProcessScroll(GdkEventScroll* event);
- static void SetRootViewForWidget(GtkWidget* widget, RootView* root_view);
-
// Returns the first ancestor of |widget| that is a window.
static Window* GetWindowImpl(GtkWidget* widget);