| 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 FrameClient_h | 5 #ifndef FrameClient_h |
| 6 #define FrameClient_h | 6 #define FrameClient_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "public/platform/BlameContext.h" | 10 #include "public/platform/BlameContext.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class Frame; | 14 class Frame; |
| 15 class LocalFrame; | |
| 16 class MessageEvent; | |
| 17 class SecurityOrigin; | |
| 18 enum class FrameDetachType; | 15 enum class FrameDetachType; |
| 19 | 16 |
| 20 class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> { | 17 class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> { |
| 21 public: | 18 public: |
| 22 virtual bool inShadowTree() const = 0; | 19 virtual bool inShadowTree() const = 0; |
| 23 | 20 |
| 24 // TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't | 21 // TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't |
| 25 // need this. | 22 // need this. |
| 26 virtual void willBeDetached() = 0; | 23 virtual void willBeDetached() = 0; |
| 27 virtual void detached(FrameDetachType) = 0; | 24 virtual void detached(FrameDetachType) = 0; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 43 virtual BlameContext* frameBlameContext() { return nullptr; } | 40 virtual BlameContext* frameBlameContext() { return nullptr; } |
| 44 | 41 |
| 45 virtual ~FrameClient() {} | 42 virtual ~FrameClient() {} |
| 46 | 43 |
| 47 DEFINE_INLINE_VIRTUAL_TRACE() {} | 44 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 48 }; | 45 }; |
| 49 | 46 |
| 50 } // namespace blink | 47 } // namespace blink |
| 51 | 48 |
| 52 #endif // FrameClient_h | 49 #endif // FrameClient_h |
| OLD | NEW |