summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-06-12 17:34:38 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-06-12 17:38:05 +0200
commit30d205d5663ab0baeb571d80f1e4d27981d5b4a1 (patch)
treee43566e2243899707f9fb0821dba5d2afe651461 /shared
parent0f0c301265d0acd2ea15769b0930eb4054e54a3d (diff)
Quick cleanup.
Diffstat (limited to 'shared')
-rw-r--r--shared/render_widget_host_view_qt.cpp10
-rw-r--r--shared/render_widget_host_view_qt.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/shared/render_widget_host_view_qt.cpp b/shared/render_widget_host_view_qt.cpp
index 4fcdcbf00..46a710591 100644
--- a/shared/render_widget_host_view_qt.cpp
+++ b/shared/render_widget_host_view_qt.cpp
@@ -133,11 +133,6 @@ content::BackingStore *RenderWidgetHostViewQt::AllocBackingStore(const gfx::Size
return 0;
}
-RenderWidgetHostView* RenderWidgetHostViewQt::CreateViewForWidget(content::RenderWidgetHost* widget)
-{
- return new RenderWidgetHostViewQt(widget);
-}
-
void RenderWidgetHostViewQt::InitAsChild(gfx::NativeView parent_view)
{
NativeViewContainerQt* container = reinterpret_cast<NativeViewContainerQt*>(parent_view);
@@ -194,11 +189,6 @@ gfx::NativeView RenderWidgetHostViewQt::GetNativeView() const
return gfx::NativeView();
}
-NativeViewQt* RenderWidgetHostViewQt::GetNativeViewQt() const
-{
- return m_view;
-}
-
gfx::NativeViewId RenderWidgetHostViewQt::GetNativeViewId() const
{
QT_NOT_YET_IMPLEMENTED
diff --git a/shared/render_widget_host_view_qt.h b/shared/render_widget_host_view_qt.h
index d21cbf051..493d89b92 100644
--- a/shared/render_widget_host_view_qt.h
+++ b/shared/render_widget_host_view_qt.h
@@ -65,7 +65,6 @@ public:
bool handleEvent(QEvent* event);
virtual content::BackingStore *AllocBackingStore(const gfx::Size &size);
- static RenderWidgetHostView* CreateViewForWidget(content::RenderWidgetHost* widget);
virtual void InitAsChild(gfx::NativeView parent_view);
virtual void InitAsPopup(content::RenderWidgetHostView*, const gfx::Rect&);
@@ -74,7 +73,6 @@ public:
virtual void SetSize(const gfx::Size& size);
virtual void SetBounds(const gfx::Rect& rect);
virtual gfx::NativeView GetNativeView() const;
- virtual NativeViewQt* GetNativeViewQt() const OVERRIDE;
virtual gfx::NativeViewId GetNativeViewId() const;
virtual gfx::NativeViewAccessible GetNativeViewAccessible();
virtual void Focus();