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

Issue 2953503004: Transfer ownership of InputMethodController from LocalFrame to DOMWindow

Created:
3 years, 6 months ago by tanvir
Modified:
3 years, 6 months ago
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Transfer ownership of InputMethodController from LocalFrame to DOMWindow Since lifetime of InputMethodController is same as a DOMWindow, so we can move the ownership to DOMWindow. BUG=695359

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M third_party/WebKit/Source/core/frame/LocalDOMWindow.h View 4 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Srirama
nit: s/DomWindow/DOMWindow in description
3 years, 6 months ago (2017-06-22 14:15:39 UTC) #5
tanvir
PTAL!!! Thanks
3 years, 6 months ago (2017-06-23 04:38:46 UTC) #11
yosin_UTC9
non-owner lgtm +tkent@ for OWNERS review.
3 years, 6 months ago (2017-06-23 05:12:27 UTC) #13
tkent
Does this CL any practical benefit? Because we can't use IME without a frame, IMController ...
3 years, 6 months ago (2017-06-23 05:16:55 UTC) #14
tkent
On 2017/06/23 at 05:16:55, tkent wrote: > Does this CL any practical benefit? CL any ...
3 years, 6 months ago (2017-06-23 05:17:12 UTC) #15
yosin_UTC9
On 2017/06/23 at 05:17:12, tkent wrote: > On 2017/06/23 at 05:16:55, tkent wrote: > > ...
3 years, 6 months ago (2017-06-23 05:45:39 UTC) #16
tkent
On 2017/06/23 at 05:45:39, yosin wrote: > Fumm..., it is better to make Document to ...
3 years, 6 months ago (2017-06-23 06:04:21 UTC) #17
tkent
On 2017/06/23 at 06:04:21, tkent wrote: > On 2017/06/23 at 05:45:39, yosin wrote: > > ...
3 years, 6 months ago (2017-06-23 06:11:02 UTC) #18
yosin_UTC9
3 years, 6 months ago (2017-06-23 06:45:45 UTC) #19
On 2017/06/23 at 06:11:02, tkent wrote:
> On 2017/06/23 at 06:04:21, tkent wrote:
> > On 2017/06/23 at 05:45:39, yosin wrote:
> > > Fumm..., it is better to make Document to own InputMethodController
instead of DOMWindow to
> > > make IMC not to inherit |SynchronousMutationObserver|, actually we should
use |DocumentShtudoDownObserver| though.
> > > IMC should clear |composition_range_| when Document is unavailable. If
lifetime of IMC is as same as DOcument,
> > > we don't need to clear |composition_range_| explicitly.
> > > 
> > > Yet another option is make Page as owner of IMC since IMC is called only
for active frame.
> > 
> > Document without Frame doesn't need InputMethodController.
> > IMC owned by Page makes sense.  Also, how about IMC owned by Editor?
> 
> IMC owned by Page might need OOPIF consideration.

+1 for Editor, like SpellChecker owns IdleSpellCheckCallback.

Powered by Google App Engine
This is Rietveld 408576698