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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.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) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #include "core/page/ChromeClient.h" 22 #include "core/page/ChromeClient.h"
23 23
24 #include <algorithm>
24 #include "core/dom/Document.h" 25 #include "core/dom/Document.h"
25 #include "core/dom/Element.h" 26 #include "core/dom/Element.h"
26 #include "core/frame/FrameConsole.h" 27 #include "core/frame/FrameConsole.h"
27 #include "core/frame/LocalFrame.h" 28 #include "core/frame/LocalFrame.h"
28 #include "core/inspector/ConsoleMessage.h" 29 #include "core/inspector/ConsoleMessage.h"
29 #include "core/inspector/InspectorInstrumentation.h" 30 #include "core/inspector/InspectorInstrumentation.h"
30 #include "core/layout/HitTestResult.h" 31 #include "core/layout/HitTestResult.h"
31 #include "core/page/FrameTree.h" 32 #include "core/page/FrameTree.h"
32 #include "core/page/ScopedPageSuspender.h" 33 #include "core/page/ScopedPageSuspender.h"
33 #include "core/page/WindowFeatures.h" 34 #include "core/page/WindowFeatures.h"
34 #include "platform/geometry/IntRect.h" 35 #include "platform/geometry/IntRect.h"
35 #include "platform/network/NetworkHints.h" 36 #include "platform/network/NetworkHints.h"
36 #include "public/platform/WebScreenInfo.h" 37 #include "public/platform/WebScreenInfo.h"
37 #include <algorithm>
38 38
39 namespace blink { 39 namespace blink {
40 40
41 DEFINE_TRACE(ChromeClient) { 41 DEFINE_TRACE(ChromeClient) {
42 visitor->trace(m_lastMouseOverNode); 42 visitor->trace(m_lastMouseOverNode);
43 HostWindow::trace(visitor); 43 HostWindow::trace(visitor);
44 } 44 }
45 45
46 void ChromeClient::setWindowRectWithAdjustment(const IntRect& pendingRect, 46 void ChromeClient::setWindowRectWithAdjustment(const IntRect& pendingRect,
47 LocalFrame& frame) { 47 LocalFrame& frame) {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // Suspend pages in case the client method runs a new event loop that would 231 // Suspend pages in case the client method runs a new event loop that would
232 // otherwise cause the load to continue while we're in the middle of 232 // otherwise cause the load to continue while we're in the middle of
233 // executing JavaScript. 233 // executing JavaScript.
234 ScopedPageSuspender suspender; 234 ScopedPageSuspender suspender;
235 235
236 printDelegate(frame); 236 printDelegate(frame);
237 return true; 237 return true;
238 } 238 }
239 239
240 } // namespace blink 240 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/core/page/ContextMenuController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698