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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 62b0b38f1815d6ba4c322c55d0ec2a3684f92878..7baa14aa5223e4c8b6cee406e9a07cbd25df23c3 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -3433,20 +3433,6 @@ extern NSString *NSTextInputReplacementRangeAttributeName;
return requestor;
}
-- (void)viewWillStartLiveResize {
- [super viewWillStartLiveResize];
- RenderWidgetHostImpl* widget = renderWidgetHostView_->render_widget_host_;
- if (widget)
- widget->Send(new ViewMsg_SetInLiveResize(widget->GetRoutingID(), true));
-}
-
-- (void)viewDidEndLiveResize {
- [super viewDidEndLiveResize];
- RenderWidgetHostImpl* widget = renderWidgetHostView_->render_widget_host_;
- if (widget)
- widget->Send(new ViewMsg_SetInLiveResize(widget->GetRoutingID(), false));
-}
-
- (void)updateCursor:(NSCursor*)cursor {
if (currentCursor_ == cursor)
return;
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698