| 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 "web/WebExport.h" | 9 #include "web/WebExport.h" |
| 10 #include "wtf/text/AtomicString.h" | 10 #include "wtf/text/AtomicString.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // implementation as an instance of the base class, but has no inheritance | 28 // implementation as an instance of the base class, but has no inheritance |
| 29 // relationship with it. The cost is a virtual indirection, but this is nicer | 29 // relationship with it. The cost is a virtual indirection, but this is nicer |
| 30 // than the previous manual dispatch emulating real virtual dispatch. | 30 // than the previous manual dispatch emulating real virtual dispatch. |
| 31 class WEB_EXPORT WebFrameImplBase | 31 class WEB_EXPORT WebFrameImplBase |
| 32 : public GarbageCollectedFinalized<WebFrameImplBase> { | 32 : public GarbageCollectedFinalized<WebFrameImplBase> { |
| 33 public: | 33 public: |
| 34 virtual ~WebFrameImplBase(); | 34 virtual ~WebFrameImplBase(); |
| 35 | 35 |
| 36 virtual void initializeCoreFrame(FrameHost*, | 36 virtual void initializeCoreFrame(FrameHost*, |
| 37 FrameOwner*, | 37 FrameOwner*, |
| 38 const AtomicString& name, | 38 const AtomicString& name) = 0; |
| 39 const AtomicString& uniqueName) = 0; | |
| 40 // 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 |
| 41 // const... | 40 // const... |
| 42 virtual Frame* frame() const = 0; | 41 virtual Frame* frame() const = 0; |
| 43 | 42 |
| 44 DECLARE_VIRTUAL_TRACE(); | 43 DECLARE_VIRTUAL_TRACE(); |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace blink | 46 } // namespace blink |
| 48 | 47 |
| 49 #endif // WebFrameImplBase_h | 48 #endif // WebFrameImplBase_h |
| OLD | NEW |