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

Side by Side Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "web/RemoteFrameClientImpl.h" 5 #include "web/RemoteFrameClientImpl.h"
6 6
7 #include <memory>
7 #include "core/events/KeyboardEvent.h" 8 #include "core/events/KeyboardEvent.h"
8 #include "core/events/MouseEvent.h" 9 #include "core/events/MouseEvent.h"
9 #include "core/events/WheelEvent.h" 10 #include "core/events/WheelEvent.h"
10 #include "core/frame/RemoteFrame.h" 11 #include "core/frame/RemoteFrame.h"
11 #include "core/frame/RemoteFrameView.h" 12 #include "core/frame/RemoteFrameView.h"
12 #include "core/layout/api/LayoutItem.h" 13 #include "core/layout/api/LayoutItem.h"
13 #include "core/layout/api/LayoutPartItem.h" 14 #include "core/layout/api/LayoutPartItem.h"
14 #include "platform/exported/WrappedResourceRequest.h" 15 #include "platform/exported/WrappedResourceRequest.h"
15 #include "platform/geometry/IntRect.h" 16 #include "platform/geometry/IntRect.h"
16 #include "platform/weborigin/SecurityOrigin.h" 17 #include "platform/weborigin/SecurityOrigin.h"
17 #include "platform/weborigin/SecurityPolicy.h" 18 #include "platform/weborigin/SecurityPolicy.h"
18 #include "public/web/WebRemoteFrameClient.h" 19 #include "public/web/WebRemoteFrameClient.h"
19 #include "web/WebInputEventConversion.h" 20 #include "web/WebInputEventConversion.h"
20 #include "web/WebLocalFrameImpl.h" 21 #include "web/WebLocalFrameImpl.h"
21 #include "web/WebRemoteFrameImpl.h" 22 #include "web/WebRemoteFrameImpl.h"
22 #include "wtf/PtrUtil.h" 23 #include "wtf/PtrUtil.h"
23 #include <memory>
24 24
25 namespace blink { 25 namespace blink {
26 26
27 namespace { 27 namespace {
28 28
29 // Convenience helper for frame tree helpers in FrameClient to reduce the amount 29 // Convenience helper for frame tree helpers in FrameClient to reduce the amount
30 // of null-checking boilerplate code. Since the frame tree is maintained in the 30 // of null-checking boilerplate code. Since the frame tree is maintained in the
31 // web/ layer, the frame tree helpers often have to deal with null WebFrames: 31 // web/ layer, the frame tree helpers often have to deal with null WebFrames:
32 // for example, a frame with no parent will return null for WebFrame::parent(). 32 // for example, a frame with no parent will return null for WebFrame::parent().
33 // TODO(dcheng): Remove duplication between FrameLoaderClientImpl and 33 // TODO(dcheng): Remove duplication between FrameLoaderClientImpl and
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 LocalFrame* source) { 184 LocalFrame* source) {
185 m_webFrame->client()->advanceFocus(type, 185 m_webFrame->client()->advanceFocus(type,
186 WebLocalFrameImpl::fromFrame(source)); 186 WebLocalFrameImpl::fromFrame(source));
187 } 187 }
188 188
189 void RemoteFrameClientImpl::visibilityChanged(bool visible) { 189 void RemoteFrameClientImpl::visibilityChanged(bool visible) {
190 m_webFrame->client()->visibilityChanged(visible); 190 m_webFrame->client()->visibilityChanged(visible);
191 } 191 }
192 192
193 } // namespace blink 193 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlayTest.cpp ('k') | third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698