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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1410313006: Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no functionality change Created 5 years, 2 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: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index ccfeeb98794ad261064dd648c3f6c20d6983c276..63e25c3ac005d03e9ebee7c883f5b046bee7581c 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -347,10 +347,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// Cancels an ongoing composition.
void ImeCancelComposition();
- // This is for derived classes to give us access to the resizer rect.
- // And to also expose it to the RenderWidgetHostView.
- virtual gfx::Rect GetRootWindowResizerRect() const;
-
bool ignore_input_events() const {
return ignore_input_events_;
}
@@ -361,10 +357,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
bool has_touch_handler() const { return has_touch_handler_; }
- // Notification that the user has made some kind of input that could
- // perform an action. See OnUserGesture for more details.
- void StartUserGesture();
-
// Set the RenderView background transparency.
void SetBackgroundOpaque(bool opaque);
@@ -520,32 +512,12 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// Called when a mousewheel event was not processed by the renderer.
virtual void UnhandledWheelEvent(const blink::WebMouseWheelEvent& event) {}
- // Notification that the user has made some kind of input that could
- // perform an action. The gestures that count are 1) any mouse down
- // event and 2) enter or space key presses.
- virtual void OnUserGesture() {}
-
- // Callbacks for notification when the renderer becomes unresponsive to user
- // input events, and subsequently responsive again.
- virtual void NotifyRendererUnresponsive() {}
- virtual void NotifyRendererResponsive() {}
-
// Callback for notification that we failed to receive any rendered graphics
// from a newly loaded page. Used for testing.
virtual void NotifyNewContentRenderingTimeoutForTesting() {}
- // Called when auto-resize resulted in the renderer size changing.
- virtual void OnRenderAutoResized(const gfx::Size& new_size) {}
-
// ---------------------------------------------------------------------------
- // RenderViewHost overrides this method to impose further restrictions on when
- // to allow mouse lock.
- // Once the request is approved or rejected, GotResponseToLockMouseRequest()
- // will be called.
- virtual void RequestToLockMouse(bool user_gesture,
- bool last_unlocked_by_target);
-
bool IsMouseLocked() const;
// RenderViewHost overrides this method to report whether tab-initiated

Powered by Google App Engine
This is Rietveld 408576698