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

Issue 2012823003: Move IME related functions from WebFrame to WebLocalFrame (Closed)

Created:
4 years, 7 months ago by yabinh
Modified:
4 years, 5 months ago
CC:
alexmos, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, groby+spellwatch_chromium.org, jam, jochen+watch_chromium.org, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org, please use gerrit instead, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move IME related functions from WebFrame to WebLocalFrame BUG=604645 Committed: https://crrev.com/8204efcf337a42af04aebcee8827026b317071f0 Cr-Commit-Position: refs/heads/master@{#404345}

Patch Set 1 #

Patch Set 2 : sync #

Total comments: 8

Patch Set 3 : remove most of the null checks except the one in spellcheck_provider.cc #

Total comments: 2

Patch Set 4 : Remove null check in spellcheck_provider.cc and add some log. #

Patch Set 5 : Remove null check in spellcheck_provider.cc and add some log #

Total comments: 4

Patch Set 6 : Same to patch set 3, except for adding some todo #

Patch Set 7 : change for tkent@'s review #

Total comments: 3

Patch Set 8 : change for dcheng@'s review #

Total comments: 3

Patch Set 9 : Add CHECK in TextInputController::HasMarkedText() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -316 lines) Patch
M chrome/renderer/spellchecker/spellcheck_provider.cc View 1 2 3 4 5 3 chunks +9 lines, -4 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M components/test_runner/test_runner_for_specific_view.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M components/test_runner/text_input_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +30 lines, -5 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 4 chunks +12 lines, -18 lines 0 comments Download
M content/renderer/text_input_client_observer.cc View 1 2 2 chunks +7 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.h View 1 2 3 4 5 6 1 chunk +0 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -148 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 19 chunks +21 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 1 2 3 4 5 6 1 chunk +0 lines, -64 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 2 chunks +60 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (12 generated)
yabinh
changewan@, can you take a look at this patch?
4 years, 7 months ago (2016-05-26 09:24:31 UTC) #2
dcheng
+ekaramad as FYI I also have a CL in progress to make focusedOrMainFrame() just return ...
4 years, 7 months ago (2016-05-27 01:40:50 UTC) #4
yabinh
On 2016/05/27 01:40:50, dcheng wrote: > +ekaramad as FYI > > I also have a ...
4 years, 6 months ago (2016-06-13 08:10:01 UTC) #6
dcheng
I know you're just changing existing code, but I'm wondering how many of the null ...
4 years, 6 months ago (2016-06-13 17:29:46 UTC) #7
yabinh
cc'd rouslan@ for the owner of spellcheck_provider.cc. https://codereview.chromium.org/2012823003/diff/20001/chrome/renderer/spellchecker/spellcheck_provider.cc File chrome/renderer/spellchecker/spellcheck_provider.cc (right): https://codereview.chromium.org/2012823003/diff/20001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode294 chrome/renderer/spellchecker/spellcheck_provider.cc:294: if (!frame) ...
4 years, 6 months ago (2016-06-16 07:12:57 UTC) #8
dcheng
https://codereview.chromium.org/2012823003/diff/40001/chrome/renderer/spellchecker/spellcheck_provider.cc File chrome/renderer/spellchecker/spellcheck_provider.cc (right): https://codereview.chromium.org/2012823003/diff/40001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode294 chrome/renderer/spellchecker/spellcheck_provider.cc:294: if (!frame) I guess I'm still not sure why ...
4 years, 6 months ago (2016-06-20 19:55:11 UTC) #9
yabinh
https://codereview.chromium.org/2012823003/diff/40001/chrome/renderer/spellchecker/spellcheck_provider.cc File chrome/renderer/spellchecker/spellcheck_provider.cc (right): https://codereview.chromium.org/2012823003/diff/40001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode294 chrome/renderer/spellchecker/spellcheck_provider.cc:294: if (!frame) On 2016/06/20 19:55:11, dcheng wrote: > I ...
4 years, 6 months ago (2016-06-22 13:34:50 UTC) #10
dcheng
https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc File chrome/renderer/spellchecker/spellcheck_provider.cc (right): https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode295 chrome/renderer/spellchecker/spellcheck_provider.cc:295: LOG(ERROR) << "hyb: not local frame"; On 2016/06/22 13:34:49, ...
4 years, 5 months ago (2016-07-01 06:53:16 UTC) #11
yabinh
On 2016/07/01 06:53:16, dcheng wrote: > https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc > File chrome/renderer/spellchecker/spellcheck_provider.cc (right): > > https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode295 > ...
4 years, 5 months ago (2016-07-01 07:58:46 UTC) #12
dcheng
https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc File chrome/renderer/spellchecker/spellcheck_provider.cc (right): https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode295 chrome/renderer/spellchecker/spellcheck_provider.cc:295: LOG(ERROR) << "hyb: not local frame"; On 2016/07/01 06:53:16, ...
4 years, 5 months ago (2016-07-01 09:12:05 UTC) #13
yabinh
On 2016/07/01 09:12:05, dcheng wrote: > https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc > File chrome/renderer/spellchecker/spellcheck_provider.cc (right): > > https://codereview.chromium.org/2012823003/diff/80001/chrome/renderer/spellchecker/spellcheck_provider.cc#newcode295 > ...
4 years, 5 months ago (2016-07-01 09:14:34 UTC) #14
dcheng
lgtm
4 years, 5 months ago (2016-07-01 09:22:40 UTC) #15
yabinh
rouslan@chromium.org: Please review changes in spellcheck_provider.cc sievers@chromium.org: Please review changes in content/ sdefresne@chromium.org: Please review ...
4 years, 5 months ago (2016-07-07 07:59:19 UTC) #17
sdefresne
On 2016/07/07 07:59:19, yabinh wrote: > mailto:rouslan@chromium.org: Please review changes in > spellcheck_provider.cc > mailto:sievers@chromium.org: ...
4 years, 5 months ago (2016-07-07 09:12:47 UTC) #18
yabinh
On 2016/07/07 09:12:47, sdefresne wrote: > On 2016/07/07 07:59:19, yabinh wrote: > > mailto:rouslan@chromium.org: Please ...
4 years, 5 months ago (2016-07-07 09:30:49 UTC) #19
please use gerrit instead
lgtm spellcheck lgtm
4 years, 5 months ago (2016-07-07 13:00:50 UTC) #21
no sievers
On 2016/07/07 07:59:19, yabinh wrote: > mailto:rouslan@chromium.org: Please review changes in > spellcheck_provider.cc > mailto:sievers@chromium.org: ...
4 years, 5 months ago (2016-07-07 17:43:58 UTC) #22
tkent
components/test_runner lgtm. Is WebView::mainFrame always WebLocalFrame?
4 years, 5 months ago (2016-07-07 23:16:24 UTC) #23
yabinh
tkent@, can you take another look at the latest patch? https://codereview.chromium.org/2012823003/diff/120001/components/test_runner/test_runner_for_specific_view.cc File components/test_runner/test_runner_for_specific_view.cc (right): https://codereview.chromium.org/2012823003/diff/120001/components/test_runner/test_runner_for_specific_view.cc#newcode675 ...
4 years, 5 months ago (2016-07-08 01:40:58 UTC) #24
dcheng
https://codereview.chromium.org/2012823003/diff/120001/components/test_runner/test_runner_for_specific_view.cc File components/test_runner/test_runner_for_specific_view.cc (right): https://codereview.chromium.org/2012823003/diff/120001/components/test_runner/test_runner_for_specific_view.cc#newcode675 components/test_runner/test_runner_for_specific_view.cc:675: std::string TestRunnerForSpecificView::SelectionAsMarkup() { On 2016/07/08 01:40:58, yabinh wrote: > ...
4 years, 5 months ago (2016-07-08 01:55:15 UTC) #25
yabinh
https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc File components/test_runner/text_input_controller.cc (right): https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc#newcode206 components/test_runner/text_input_controller.cc:206: I think we don't need to CHECK here, because ...
4 years, 5 months ago (2016-07-08 02:42:53 UTC) #26
dcheng
https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc File components/test_runner/text_input_controller.cc (right): https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc#newcode206 components/test_runner/text_input_controller.cc:206: On 2016/07/08 02:42:53, yabinh wrote: > I think we ...
4 years, 5 months ago (2016-07-08 03:31:09 UTC) #27
yabinh
https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc File components/test_runner/text_input_controller.cc (right): https://codereview.chromium.org/2012823003/diff/140001/components/test_runner/text_input_controller.cc#newcode206 components/test_runner/text_input_controller.cc:206: On 2016/07/08 03:31:09, dcheng wrote: > On 2016/07/08 02:42:53, ...
4 years, 5 months ago (2016-07-08 04:22:54 UTC) #28
dcheng
Still LGTM.
4 years, 5 months ago (2016-07-08 04:30:54 UTC) #29
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/2012823003/160001
4 years, 5 months ago (2016-07-08 10:08:30 UTC) #35
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 5 months ago (2016-07-08 13:59:15 UTC) #37
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 13:59:46 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 14:00:35 UTC) #40
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/8204efcf337a42af04aebcee8827026b317071f0
Cr-Commit-Position: refs/heads/master@{#404345}

Powered by Google App Engine
This is Rietveld 408576698