diff --git a/lib/render_widget_host_view_qt.cpp b/lib/render_widget_host_view_qt.cpp index aa644a27fd1d8adcaceefaca09704746d34f965a..f6f15e0ac46d8a098338030f5232b2986e8d99c6 100644 --- a/lib/render_widget_host_view_qt.cpp +++ b/lib/render_widget_host_view_qt.cpp @@ -234,19 +234,12 @@ void RenderWidgetHostViewQt::SetBackground(const SkBitmap& background) // Return value indicates whether the mouse is locked successfully or not. bool RenderWidgetHostViewQt::LockMouse() { - QT_NOT_YET_IMPLEMENTED + QT_NOT_USED return false; } void RenderWidgetHostViewQt::UnlockMouse() { - QT_NOT_YET_IMPLEMENTED -} - -// Returns true if the mouse pointer is currently locked. -bool RenderWidgetHostViewQt::IsMouseLocked() -{ - QT_NOT_YET_IMPLEMENTED - return false; + QT_NOT_USED } // FIXME: remove TOOLKIT_GTK related things. @@ -295,8 +288,7 @@ void RenderWidgetHostViewQt::UpdateCursor(const WebCursor&) void RenderWidgetHostViewQt::SetIsLoading(bool) { - QT_NOT_YET_IMPLEMENTED - // Give visual feedback for loading process. + // We use WebContentsDelegateQt::LoadingStateChanged to notify about loading state. } void RenderWidgetHostViewQt::TextInputTypeChanged(ui::TextInputType, bool) @@ -439,7 +431,8 @@ void RenderWidgetHostViewQt::SetScrollOffsetPinning(bool, bool) { } void RenderWidgetHostViewQt::OnAccessibilityNotifications(const std::vector<AccessibilityHostMsg_NotificationParams>&) { - QT_NOT_YET_IMPLEMENTED + // We are not using accessibility features at this point. + QT_NOT_USED } void RenderWidgetHostViewQt::Paint(const gfx::Rect& damage_rect) diff --git a/lib/render_widget_host_view_qt.h b/lib/render_widget_host_view_qt.h index 1cccd24582b89f00003b64eba439f5f82ab15b32..4b1a3c66e2f9d7c200fdd754372b073575cd50c5 100644 --- a/lib/render_widget_host_view_qt.h +++ b/lib/render_widget_host_view_qt.h @@ -94,7 +94,6 @@ public: virtual void SetBackground(const SkBitmap& background); virtual bool LockMouse(); virtual void UnlockMouse(); - virtual bool IsMouseLocked(); #if defined(TOOLKIT_GTK) virtual GdkEventButton* GetLastMouseDown(); virtual gfx::NativeView BuildInputMethodsGtkMenu(); diff --git a/lib/web_contents_view_qt.h b/lib/web_contents_view_qt.h index d12b9df756dbebce5dd87f79d90063ddc5cf1a16..456329201bbe1ef360640e63689112c1dec49fc5 100644 --- a/lib/web_contents_view_qt.h +++ b/lib/web_contents_view_qt.h @@ -87,11 +87,11 @@ public: virtual void SetOverscrollControllerEnabled(bool enabled) { QT_NOT_YET_IMPLEMENTED } - virtual gfx::NativeView GetNativeView() const { QT_NOT_YET_IMPLEMENTED return 0; } + virtual gfx::NativeView GetNativeView() const { QT_NOT_USED return 0; } - virtual gfx::NativeView GetContentNativeView() const { QT_NOT_YET_IMPLEMENTED return 0; } + virtual gfx::NativeView GetContentNativeView() const { QT_NOT_USED return 0; } - virtual gfx::NativeWindow GetTopLevelNativeWindow() const { QT_NOT_YET_IMPLEMENTED return 0; } + virtual gfx::NativeWindow GetTopLevelNativeWindow() const { QT_NOT_USED return 0; } virtual void GetContainerBounds(gfx::Rect* out) const;