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

Issue 554773002: BrowserPlugin: Remove BrowserPluginGuest::ToGuestRect (Closed)

Created:
6 years, 3 months ago by Fady Samuel
Modified:
6 years, 3 months ago
Reviewers:
lazyboy, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

BrowserPlugin: Remove BrowserPluginGuest::ToGuestRect BrowserPluginGuest::GetScreenCoordinates and BrowserPluginGuest::ToGuestRect served very similar purposes, and having both around would probably just increase the likelihood of bugs cropping up. This CL removes ToGuestRect. BUG=none Committed: https://crrev.com/940e498e0aed4f8881cf83b894754bbdd420f374 Cr-Commit-Position: refs/heads/master@{#293867}

Patch Set 1 #

Patch Set 2 : Removed guest_screen_rect #

Total comments: 2

Patch Set 3 : Removed more unnecessary code in OnHandleInputEvent #

Patch Set 4 : Addressed lazyboy@'s comments #

Patch Set 5 : Fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -33 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 2 chunks +0 lines, -23 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Fady Samuel
6 years, 3 months ago (2014-09-08 18:24:47 UTC) #2
Fady Samuel
+nasko@: Please review RenderWidgetHostViewGuest.
6 years, 3 months ago (2014-09-08 18:31:12 UTC) #3
lazyboy
LGTM with one nit. https://codereview.chromium.org/554773002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/554773002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc#newcode131 content/browser/frame_host/render_widget_host_view_guest.cc:131: gfx::Rect shifted_rect; Would be easier ...
6 years, 3 months ago (2014-09-08 19:00:57 UTC) #4
Fady Samuel
oops, looks like I forgot to add Nasko last time. +nasko@: Please review RenderWidgetHostViewGuest. Thanks! ...
6 years, 3 months ago (2014-09-08 19:17:05 UTC) #6
nasko
LGTM
6 years, 3 months ago (2014-09-08 23:04:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/554773002/80001
6 years, 3 months ago (2014-09-08 23:21:47 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 19321040c13729a5e0fba3bef8e1fadf46086a9f
6 years, 3 months ago (2014-09-09 06:18:35 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:50:58 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/940e498e0aed4f8881cf83b894754bbdd420f374
Cr-Commit-Position: refs/heads/master@{#293867}

Powered by Google App Engine
This is Rietveld 408576698