| OLD | NEW |
| 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 | 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 WebFrameImplBase_h | 5 #ifndef WebFrameImplBase_h |
| 6 #define WebFrameImplBase_h | 6 #define WebFrameImplBase_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "platform/wtf/text/AtomicString.h" |
| 9 #include "web/WebExport.h" | 10 #include "web/WebExport.h" |
| 10 #include "wtf/text/AtomicString.h" | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class Frame; | 14 class Frame; |
| 15 class FrameOwner; | 15 class FrameOwner; |
| 16 class Page; | 16 class Page; |
| 17 | 17 |
| 18 // WebFrameImplBase exists to avoid the diamond inheritance problem: | 18 // WebFrameImplBase exists to avoid the diamond inheritance problem: |
| 19 // - The public interfaces WebLocalFrame/WebRemoteFrame extend WebFrame. | 19 // - The public interfaces WebLocalFrame/WebRemoteFrame extend WebFrame. |
| 20 // - WebLocalFrameImpl implements WebLocalFrame and WebRemoteFrameImpl | 20 // - WebLocalFrameImpl implements WebLocalFrame and WebRemoteFrameImpl |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 // TODO(dcheng): Rename this to coreFrame()? This probably also shouldn't be | 39 // TODO(dcheng): Rename this to coreFrame()? This probably also shouldn't be |
| 40 // const... | 40 // const... |
| 41 virtual Frame* frame() const = 0; | 41 virtual Frame* frame() const = 0; |
| 42 | 42 |
| 43 DECLARE_VIRTUAL_TRACE(); | 43 DECLARE_VIRTUAL_TRACE(); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // WebFrameImplBase_h | 48 #endif // WebFrameImplBase_h |
| OLD | NEW |