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

Issue 2177333002: Move setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. (Closed)

Created:
4 years, 5 months ago by lfg
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tyoshino+watch_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, loading-reviews_chromium.org, dglazkov+blink, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, kinuko+watch, Nate Chapin, blink-reviews-api_chromium.org, 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 setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. This change also renames ChromeClient::windowRect to ChromeClient::rootWindowRect to avoid confusion with WebWidgetClient::windowRect, since they are used for different purposes. This change is part of WebView/WebWidget split refactor. BUG=583347 Committed: https://crrev.com/5557376bb5137162c103b765680acc8567751e26 Cr-Commit-Position: refs/heads/master@{#412667}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : change CHECK to a DCHECK #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : addressing comments #

Patch Set 6 : switch to refs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -46 lines) Patch
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 5 8 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebViewClient.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 41 (24 generated)
lfg
+bokan, please take a look.
4 years, 5 months ago (2016-07-25 20:40:16 UTC) #7
bokan
Please wrap description at 80 cols. https://codereview.chromium.org/2177333002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/2177333002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode190 third_party/WebKit/Source/web/ChromeClientImpl.cpp:190: CHECK(frame == m_webView->mainFrameImpl()->frame()); ...
4 years, 4 months ago (2016-07-26 23:17:05 UTC) #8
lfg
On 2016/07/26 23:17:05, bokan wrote: > Please wrap description at 80 cols. Done. > https://codereview.chromium.org/2177333002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp ...
4 years, 4 months ago (2016-07-27 15:06:10 UTC) #10
bokan
On 2016/07/27 15:06:10, lfg wrote: > On 2016/07/26 23:17:05, bokan wrote: > > Please wrap ...
4 years, 4 months ago (2016-07-27 15:43:53 UTC) #11
lfg
dcheng@chromium.org: Please review changes in WebKit/public/ avi@chromium.org: Please review changes in content/
4 years, 4 months ago (2016-07-27 16:28:24 UTC) #13
Avi (use Gerrit)
content lgtm
4 years, 4 months ago (2016-07-27 16:39:48 UTC) #14
dcheng
https://codereview.chromium.org/2177333002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/2177333002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode190 third_party/WebKit/Source/web/ChromeClientImpl.cpp:190: CHECK(frame == m_webView->mainFrameImpl()->frame()); On 2016/07/26 23:17:05, bokan wrote: > ...
4 years, 4 months ago (2016-07-29 08:31:11 UTC) #15
lfg
On 2016/07/29 08:31:11, dcheng (OOO Aug 1 - Aug 11) wrote: > Why CHECK()? In ...
4 years, 4 months ago (2016-07-29 15:36:06 UTC) #18
lfg
dcheng: ping
4 years, 4 months ago (2016-08-12 18:41:17 UTC) #21
dcheng
https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h File third_party/WebKit/Source/core/page/ChromeClient.h (right): https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h#newcode88 third_party/WebKit/Source/core/page/ChromeClient.h:88: void setWindowRectWithAdjustment(const IntRect&, LocalFrame*); Let's make this a LocalFrame&. ...
4 years, 4 months ago (2016-08-15 18:22:44 UTC) #22
lfg
https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h File third_party/WebKit/Source/core/page/ChromeClient.h (right): https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h#newcode88 third_party/WebKit/Source/core/page/ChromeClient.h:88: void setWindowRectWithAdjustment(const IntRect&, LocalFrame*); On 2016/08/15 18:22:44, dcheng wrote: ...
4 years, 4 months ago (2016-08-16 21:02:13 UTC) #24
dcheng
https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h File third_party/WebKit/Source/core/page/ChromeClient.h (right): https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h#newcode88 third_party/WebKit/Source/core/page/ChromeClient.h:88: void setWindowRectWithAdjustment(const IntRect&, LocalFrame*); On 2016/08/16 21:02:13, lfg wrote: ...
4 years, 4 months ago (2016-08-16 21:03:46 UTC) #26
lfg
On 2016/08/16 21:03:46, dcheng wrote: > https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h > File third_party/WebKit/Source/core/page/ChromeClient.h (right): > > https://codereview.chromium.org/2177333002/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h#newcode88 > ...
4 years, 4 months ago (2016-08-17 15:43:28 UTC) #33
dcheng
LGTM based on the diff between PS4 and PS6.
4 years, 4 months ago (2016-08-17 22:10:50 UTC) #34
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/2177333002/100001
4 years, 4 months ago (2016-08-17 22:12:15 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-17 22:18:23 UTC) #39
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 22:24:31 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5557376bb5137162c103b765680acc8567751e26
Cr-Commit-Position: refs/heads/master@{#412667}

Powered by Google App Engine
This is Rietveld 408576698