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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "web/ChromeClientImpl.h" 32 #include "web/ChromeClientImpl.h"
33 33
34 #include <memory>
34 #include "bindings/core/v8/ScriptController.h" 35 #include "bindings/core/v8/ScriptController.h"
35 #include "core/HTMLNames.h" 36 #include "core/HTMLNames.h"
36 #include "core/dom/AXObjectCache.h" 37 #include "core/dom/AXObjectCache.h"
37 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
38 #include "core/dom/Fullscreen.h" 39 #include "core/dom/Fullscreen.h"
39 #include "core/dom/Node.h" 40 #include "core/dom/Node.h"
40 #include "core/events/UIEventWithKeyState.h" 41 #include "core/events/UIEventWithKeyState.h"
41 #include "core/frame/FrameHost.h" 42 #include "core/frame/FrameHost.h"
42 #include "core/frame/FrameView.h" 43 #include "core/frame/FrameView.h"
43 #include "core/frame/Settings.h" 44 #include "core/frame/Settings.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 #include "web/WebLocalFrameImpl.h" 118 #include "web/WebLocalFrameImpl.h"
118 #include "web/WebPluginContainerImpl.h" 119 #include "web/WebPluginContainerImpl.h"
119 #include "web/WebSettingsImpl.h" 120 #include "web/WebSettingsImpl.h"
120 #include "web/WebViewImpl.h" 121 #include "web/WebViewImpl.h"
121 #include "wtf/Optional.h" 122 #include "wtf/Optional.h"
122 #include "wtf/PtrUtil.h" 123 #include "wtf/PtrUtil.h"
123 #include "wtf/text/CString.h" 124 #include "wtf/text/CString.h"
124 #include "wtf/text/CharacterNames.h" 125 #include "wtf/text/CharacterNames.h"
125 #include "wtf/text/StringBuilder.h" 126 #include "wtf/text/StringBuilder.h"
126 #include "wtf/text/StringConcatenate.h" 127 #include "wtf/text/StringConcatenate.h"
127 #include <memory>
128 128
129 namespace blink { 129 namespace blink {
130 130
131 namespace { 131 namespace {
132 132
133 const char* dialogTypeToString(ChromeClient::DialogType dialogType) { 133 const char* dialogTypeToString(ChromeClient::DialogType dialogType) {
134 switch (dialogType) { 134 switch (dialogType) {
135 case ChromeClient::AlertDialog: 135 case ChromeClient::AlertDialog:
136 return "alert"; 136 return "alert";
137 case ChromeClient::ConfirmDialog: 137 case ChromeClient::ConfirmDialog:
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 PresentationController::provideTo(frame, client->presentationClient()); 1219 PresentationController::provideTo(frame, client->presentationClient());
1220 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1220 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1221 provideAudioOutputDeviceClientTo(frame, 1221 provideAudioOutputDeviceClientTo(frame,
1222 new AudioOutputDeviceClientImpl(frame)); 1222 new AudioOutputDeviceClientImpl(frame));
1223 } 1223 }
1224 if (RuntimeEnabledFeatures::installedAppEnabled()) 1224 if (RuntimeEnabledFeatures::installedAppEnabled())
1225 InstalledAppController::provideTo(frame, client->relatedAppsFetcher()); 1225 InstalledAppController::provideTo(frame, client->relatedAppsFetcher());
1226 } 1226 }
1227 1227
1228 } // namespace blink 1228 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698