| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 // commit-time. | 703 // commit-time. |
| 704 void setParent(WebFrame*); | 704 void setParent(WebFrame*); |
| 705 | 705 |
| 706 private: | 706 private: |
| 707 friend class OpenedFrameTracker; | 707 friend class OpenedFrameTracker; |
| 708 | 708 |
| 709 #if BLINK_IMPLEMENTATION | 709 #if BLINK_IMPLEMENTATION |
| 710 #if ENABLE(OILPAN) | 710 #if ENABLE(OILPAN) |
| 711 static void traceFrame(Visitor*, WebFrame*); | 711 static void traceFrame(Visitor*, WebFrame*); |
| 712 static void traceFrame(InlinedGlobalMarkingVisitor, WebFrame*); | 712 static void traceFrame(InlinedGlobalMarkingVisitor, WebFrame*); |
| 713 static bool isFrameAlive(Visitor*, const WebFrame*); | 713 static bool isFrameAlive(const WebFrame*); |
| 714 static bool isFrameAlive(InlinedGlobalMarkingVisitor, const WebFrame*); | |
| 715 | 714 |
| 716 template <typename VisitorDispatcher> | 715 template <typename VisitorDispatcher> |
| 717 static void traceFramesImpl(VisitorDispatcher, WebFrame*); | 716 static void traceFramesImpl(VisitorDispatcher, WebFrame*); |
| 718 template <typename VisitorDispatcher> | 717 template <typename VisitorDispatcher> |
| 719 void clearWeakFramesImpl(VisitorDispatcher); | 718 void clearWeakFramesImpl(VisitorDispatcher); |
| 720 template <typename VisitorDispatcher> | 719 template <typename VisitorDispatcher> |
| 721 static void traceFrameImpl(VisitorDispatcher, WebFrame*); | 720 static void traceFrameImpl(VisitorDispatcher, WebFrame*); |
| 722 template <typename VisitorDispatcher> | |
| 723 static bool isFrameAliveImpl(VisitorDispatcher, const WebFrame*); | |
| 724 #endif | 721 #endif |
| 725 #endif | 722 #endif |
| 726 | 723 |
| 727 const WebTreeScopeType m_scope; | 724 const WebTreeScopeType m_scope; |
| 728 | 725 |
| 729 WebFrame* m_parent; | 726 WebFrame* m_parent; |
| 730 WebFrame* m_previousSibling; | 727 WebFrame* m_previousSibling; |
| 731 WebFrame* m_nextSibling; | 728 WebFrame* m_nextSibling; |
| 732 WebFrame* m_firstChild; | 729 WebFrame* m_firstChild; |
| 733 WebFrame* m_lastChild; | 730 WebFrame* m_lastChild; |
| 734 | 731 |
| 735 WebFrame* m_opener; | 732 WebFrame* m_opener; |
| 736 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 733 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 737 }; | 734 }; |
| 738 | 735 |
| 739 #if BLINK_IMPLEMENTATION | 736 #if BLINK_IMPLEMENTATION |
| 740 Frame* toCoreFrame(const WebFrame*); | 737 Frame* toCoreFrame(const WebFrame*); |
| 741 #endif | 738 #endif |
| 742 | 739 |
| 743 } // namespace blink | 740 } // namespace blink |
| 744 | 741 |
| 745 #endif | 742 #endif |
| OLD | NEW |