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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "web/RemoteBridgeFrameOwner.h" 5 #include "web/RemoteBridgeFrameOwner.h"
6 6
7 #include "public/web/WebFrameClient.h" 7 #include "public/web/WebFrameClient.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFr ameImpl> frame, SandboxFlags flags, const WebFrameOwnerProperties& frameOwnerPro perties) 11 RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(RawPtr<WebLocalFrameImpl> frame, SandboxFlags flags, const WebFrameOwnerProperties& frameOwnerProperties)
12 : m_frame(frame) 12 : m_frame(frame)
13 , m_sandboxFlags(flags) 13 , m_sandboxFlags(flags)
14 , m_scrolling(static_cast<ScrollbarMode>(frameOwnerProperties.scrollingMode) ) 14 , m_scrolling(static_cast<ScrollbarMode>(frameOwnerProperties.scrollingMode) )
15 , m_marginWidth(frameOwnerProperties.marginWidth) 15 , m_marginWidth(frameOwnerProperties.marginWidth)
16 , m_marginHeight(frameOwnerProperties.marginHeight) 16 , m_marginHeight(frameOwnerProperties.marginHeight)
17 { 17 {
18 } 18 }
19 19
20 DEFINE_TRACE(RemoteBridgeFrameOwner) 20 DEFINE_TRACE(RemoteBridgeFrameOwner)
21 { 21 {
22 visitor->trace(m_frame); 22 visitor->trace(m_frame);
23 FrameOwner::trace(visitor); 23 FrameOwner::trace(visitor);
24 } 24 }
25 25
26 void RemoteBridgeFrameOwner::setScrollingMode(WebFrameOwnerProperties::Scrolling Mode mode) 26 void RemoteBridgeFrameOwner::setScrollingMode(WebFrameOwnerProperties::Scrolling Mode mode)
27 { 27 {
28 m_scrolling = static_cast<ScrollbarMode>(mode); 28 m_scrolling = static_cast<ScrollbarMode>(mode);
29 } 29 }
30 30
31 void RemoteBridgeFrameOwner::dispatchLoad() 31 void RemoteBridgeFrameOwner::dispatchLoad()
32 { 32 {
33 if (m_frame->client()) 33 if (m_frame->client())
34 m_frame->client()->dispatchLoad(); 34 m_frame->client()->dispatchLoad();
35 } 35 }
36 36
37 } // namespace blink 37 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698