| OLD | NEW |
| 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 #ifndef RemoteFrameClientImpl_h | 5 #ifndef RemoteFrameClientImpl_h |
| 6 #define RemoteFrameClientImpl_h | 6 #define RemoteFrameClientImpl_h |
| 7 | 7 |
| 8 #include "core/frame/RemoteFrameClient.h" | 8 #include "core/frame/RemoteFrameClient.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 class WebRemoteFrameImpl; | 11 class WebRemoteFrameImpl; |
| 12 | 12 |
| 13 class RemoteFrameClientImpl : public RemoteFrameClient { | 13 class RemoteFrameClientImpl : public RemoteFrameClient { |
| 14 public: | 14 public: |
| 15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*); | 15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*); |
| 16 | 16 |
| 17 // FrameClient overrides: | 17 // FrameClient overrides: |
| 18 virtual void detached() OVERRIDE; | |
| 19 | |
| 20 virtual Frame* opener() const OVERRIDE; | 18 virtual Frame* opener() const OVERRIDE; |
| 21 virtual void setOpener(Frame*) OVERRIDE; | 19 virtual void setOpener(Frame*) OVERRIDE; |
| 22 | 20 |
| 23 virtual Frame* parent() const OVERRIDE; | 21 virtual Frame* parent() const OVERRIDE; |
| 24 virtual Frame* top() const OVERRIDE; | 22 virtual Frame* top() const OVERRIDE; |
| 25 virtual Frame* previousSibling() const OVERRIDE; | 23 virtual Frame* previousSibling() const OVERRIDE; |
| 26 virtual Frame* nextSibling() const OVERRIDE; | 24 virtual Frame* nextSibling() const OVERRIDE; |
| 27 virtual Frame* firstChild() const OVERRIDE; | 25 virtual Frame* firstChild() const OVERRIDE; |
| 28 virtual Frame* lastChild() const OVERRIDE; | 26 virtual Frame* lastChild() const OVERRIDE; |
| 29 | 27 |
| 30 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent*
, LocalFrame*) const OVERRIDE; | 28 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent*
, LocalFrame*) const OVERRIDE; |
| 31 | 29 |
| 32 // RemoteFrameClient overrides: | 30 // RemoteFrameClient overrides: |
| 33 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) OVERRIDE; | 31 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) OVERRIDE; |
| 34 | 32 |
| 35 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } | 33 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } |
| 36 | 34 |
| 37 private: | 35 private: |
| 38 WebRemoteFrameImpl* m_webFrame; | 36 WebRemoteFrameImpl* m_webFrame; |
| 39 }; | 37 }; |
| 40 | 38 |
| 41 } // namespace blink | 39 } // namespace blink |
| 42 | 40 |
| 43 #endif // RemoteFrameClientImpl_h | 41 #endif // RemoteFrameClientImpl_h |
| OLD | NEW |