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

Issue 2806223002: Use FrameView rather than FrameViewBase for WebInputEventConversion (Closed)

Created:
3 years, 8 months ago by joelhockey
Modified:
3 years, 8 months ago
Reviewers:
haraken, kenrb, dcheng
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use FrameView rather than FrameViewBase for WebInputEventConversion WebMouseEventBuilder is only called from within WebPluginContainerImpl. Currently the plugin is passed, but only the parent is used. By passing the plugin parent, we can use FrameView type rather than FrameViewBase. This helps in removing the FrameViewBase/Widget class. BUG=637460 Review-Url: https://codereview.chromium.org/2806223002 Cr-Commit-Position: refs/heads/master@{#463203} Committed: https://chromium.googlesource.com/chromium/src/+/9bb7c0c57c6be13b19f47a289bafed94d55c3c45

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -54 lines) Patch
M third_party/WebKit/Source/web/WebInputEventConversion.h View 3 chunks +9 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 9 chunks +38 lines, -38 lines 3 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
joelhockey
3 years, 8 months ago (2017-04-10 05:59:12 UTC) #3
haraken
LGTM
3 years, 8 months ago (2017-04-10 06:45:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2806223002/1
3 years, 8 months ago (2017-04-10 07:06:20 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/9bb7c0c57c6be13b19f47a289bafed94d55c3c45
3 years, 8 months ago (2017-04-10 09:32:34 UTC) #9
dcheng
https://codereview.chromium.org/2806223002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp File third_party/WebKit/Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/2806223002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp#newcode96 third_party/WebKit/Source/web/WebInputEventConversion.cpp:96: // FIXME: Change |FrameView| to const FrameView& after RemoteFrames ...
3 years, 8 months ago (2017-04-11 00:27:55 UTC) #11
haraken
3 years, 8 months ago (2017-04-11 01:07:24 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2806223002/diff/1/third_party/WebKit/Source/w...
File third_party/WebKit/Source/web/WebInputEventConversion.cpp (right):

https://codereview.chromium.org/2806223002/diff/1/third_party/WebKit/Source/w...
third_party/WebKit/Source/web/WebInputEventConversion.cpp:99: const FrameView*
plugin_parent,
On 2017/04/11 00:27:55, dcheng wrote:
> FWIW, I find this slightly confusing: there's nothing about this method that
> seems particularly plugin specific. Maybe we need to add some more comments
> somewhere or fix some names.

Yeah, this method itself is not doing anything plugin-specific. The method is
used only by plugin though.

Powered by Google App Engine
This is Rietveld 408576698