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

Issue 22955006: Chrome::client() should return a ChromeClient reference. (Closed)

Created:
7 years, 4 months ago by tkent
Modified:
7 years, 4 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, adamk+blink_chromium.org, pdr, aandrey+blink_chromium.org, blink-layers+watch_chromium.org, caseq+blink_chromium.org, aboxhall, yurys+blink_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jchaffraix+rendering, devtools-reviews_chromium.org, kenneth.christiansen, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, Nate Chapin, alph+blink_chromium.org, leviw+renderwatch, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dmazzoni, f(malita), Stephen Chennney
Visibility:
Public.

Description

Chrome::client() should return a ChromeClient reference. It is never null. We can remove some unnecessary null checks. BUG=none TEST=none; no behavior changes. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156375

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -116 lines) Patch
M Source/core/accessibility/AXObjectCache.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/dom/Document.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/EmailInputType.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/html/HTMLAnchorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFormControlElementWithState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/PasswordInputType.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/shadow/PasswordGeneratorButtonElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/Chrome.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/Chrome.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/Console.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/CreateWindow.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/DOMWindow.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/Frame.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/FrameView.cpp View 5 chunks +6 lines, -8 lines 0 comments Download
M Source/core/page/PageConsole.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/PointerLockController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 5 chunks +5 lines, -9 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +3 lines, -12 lines 0 comments Download
M Source/core/svg/SVGAElement.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/testing/Internals.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/web/AutofillPopupMenuClient.cpp View 1 chunk +1 line, -9 lines 0 comments Download
M Source/web/PopupContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/PopupContainer.cpp View 4 chunks +21 lines, -25 lines 0 comments Download
M Source/web/StorageNamespaceProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M Source/web/tests/ChromeClientImplTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
tkent
7 years, 4 months ago (2013-08-20 06:12:57 UTC) #1
pdr.
On 2013/08/20 06:12:57, tkent wrote: Is this a merge of http://trac.webkit.org/changeset/154142? If so, we should ...
7 years, 4 months ago (2013-08-20 06:32:58 UTC) #2
tkent
On 2013/08/20 06:32:58, pdr wrote: > On 2013/08/20 06:12:57, tkent wrote: > > Is this ...
7 years, 4 months ago (2013-08-20 06:39:18 UTC) #3
yosin_UTC9
LGTM BTW, can we rename Chrome/ChromeClient to another names? When I was a new to ...
7 years, 4 months ago (2013-08-20 08:02:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/22955006/1
7 years, 4 months ago (2013-08-20 08:23:00 UTC) #5
commit-bot: I haz the power
Change committed as 156375
7 years, 4 months ago (2013-08-20 08:27:00 UTC) #6
tkent
7 years, 4 months ago (2013-08-20 08:30:26 UTC) #7
Message was sent while issue was closed.
On 2013/08/20 08:02:47, Yoshifumi Inoue wrote:
> LGTM
> 
> BTW, can we rename Chrome/ChromeClient to another names? When I was a new to
> WebKit, it made me confusing...

I think Chrome is the best name for some functions such as setWindowFeatures,
toolbarVisible, statusbarVisible, ...
Other functions can be separated to another interface. We might want to move
createColorChooser, openDateTimeChooser, runOpenPanel, etc. to new
FormUIController.

Powered by Google App Engine
This is Rietveld 408576698