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
3 // in the LICENSE file.
6 #include "web/RemoteBridgeFrameOwner.h"
8 #include "public/web/WebFrameClient.h"
12 RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr
<WebLocalFrameImpl
> frame
, SandboxFlags flags
)
14 , m_sandboxFlags(flags
)
18 DEFINE_TRACE(RemoteBridgeFrameOwner
)
20 visitor
->trace(m_frame
);
21 FrameOwner::trace(visitor
);
24 void RemoteBridgeFrameOwner::dispatchLoad()
26 if (m_frame
->client())
27 m_frame
->client()->dispatchLoad();