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

Issue 200723002: Use new is*Element() helper functions more in web/ code (Closed)

Created:
6 years, 9 months ago by Inactive
Modified:
6 years, 9 months ago
Reviewers:
tkent, adamk, eseidel
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Visibility:
Public.

Description

Use new is*Element() helper functions more in web/ code Use new is*Element() helpers more in web/ code. This makes the code clearer and simpler. R=eseidel, adamk, tkent BUG=346095 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169318

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use shadowHost() #

Total comments: 2

Patch Set 3 : Fix style issue #

Patch Set 4 : Use same assertion as in operator->() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -113 lines) Patch
M Source/web/ChromeClientImpl.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/web/ContextMenuClientImpl.cpp View 4 chunks +10 lines, -13 lines 0 comments Download
M Source/web/TextFinder.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/web/WebFormControlElement.cpp View 1 chunk +22 lines, -22 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 chunks +5 lines, -4 lines 0 comments Download
M Source/web/WebInputElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebNode.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/web/WebPageSerializer.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/WebPageSerializerImpl.cpp View 7 chunks +12 lines, -13 lines 0 comments Download
M Source/web/WebPasswordFormUtils.cpp View 2 chunks +9 lines, -9 lines 0 comments Download
M Source/web/WebSearchableFormData.cpp View 2 chunks +11 lines, -10 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 6 chunks +30 lines, -30 lines 0 comments Download
M public/platform/WebPrivatePtr.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Inactive
6 years, 9 months ago (2014-03-14 19:46:58 UTC) #1
adamk
lgtm https://codereview.chromium.org/200723002/diff/1/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/200723002/diff/1/Source/web/ChromeClientImpl.cpp#newcode549 Source/web/ChromeClientImpl.cpp:549: && (isHTMLObjectElement(*result.innerNonSharedNode()) I liked the original indentation better, ...
6 years, 9 months ago (2014-03-14 20:49:12 UTC) #2
Inactive
tkent@, could you please take a look at public/? https://codereview.chromium.org/200723002/diff/1/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/200723002/diff/1/Source/web/ChromeClientImpl.cpp#newcode549 Source/web/ChromeClientImpl.cpp:549: ...
6 years, 9 months ago (2014-03-14 21:07:17 UTC) #3
tkent
lgtm. Though I'm not a fan of replacing every hasTagName with isHTMLFoo, this CL is ...
6 years, 9 months ago (2014-03-16 23:45:51 UTC) #4
Inactive
https://codereview.chromium.org/200723002/diff/20001/public/platform/WebPrivatePtr.h File public/platform/WebPrivatePtr.h (right): https://codereview.chromium.org/200723002/diff/20001/public/platform/WebPrivatePtr.h#newcode236 public/platform/WebPrivatePtr.h:236: T& operator*() const { ASSERT(get()); return *get(); } On ...
6 years, 9 months ago (2014-03-16 23:53:50 UTC) #5
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 9 months ago (2014-03-16 23:54:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/200723002/40001
6 years, 9 months ago (2014-03-16 23:54:05 UTC) #7
Inactive
The CQ bit was unchecked by ch.dumez@samsung.com
6 years, 9 months ago (2014-03-16 23:54:44 UTC) #8
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 9 months ago (2014-03-16 23:56:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/200723002/60001
6 years, 9 months ago (2014-03-16 23:56:16 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-17 00:48:18 UTC) #11
Message was sent while issue was closed.
Change committed as 169318

Powered by Google App Engine
This is Rietveld 408576698