| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
| 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
| 7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class FetchContext; | 50 class FetchContext; |
| 51 class FloatSize; | 51 class FloatSize; |
| 52 class FrameConsole; | 52 class FrameConsole; |
| 53 class FrameDestructionObserver; | 53 class FrameDestructionObserver; |
| 54 class FrameSelection; | 54 class FrameSelection; |
| 55 class FrameView; | 55 class FrameView; |
| 56 class HTMLPlugInElement; | 56 class HTMLPlugInElement; |
| 57 class InputMethodController; | 57 class InputMethodController; |
| 58 class IntPoint; | 58 class IntPoint; |
| 59 class IntSize; | 59 class IntSize; |
| 60 class InstrumentingAgents; | |
| 61 class LocalDOMWindow; | 60 class LocalDOMWindow; |
| 62 class Node; | 61 class Node; |
| 63 class Range; | 62 class Range; |
| 64 class RenderView; | 63 class RenderView; |
| 65 class TreeScope; | 64 class TreeScope; |
| 66 class ScriptController; | 65 class ScriptController; |
| 67 class SpellChecker; | 66 class SpellChecker; |
| 68 class TreeScope; | 67 class TreeScope; |
| 69 class VisiblePosition; | 68 class VisiblePosition; |
| 70 | 69 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 FrameConsole& console() const; | 118 FrameConsole& console() const; |
| 120 | 119 |
| 121 void didChangeVisibilityState(); | 120 void didChangeVisibilityState(); |
| 122 | 121 |
| 123 // This method is used to get the highest level LocalFrame in this | 122 // This method is used to get the highest level LocalFrame in this |
| 124 // frame's in-process subtree. | 123 // frame's in-process subtree. |
| 125 // FIXME: This is a temporary hack to support RemoteFrames, and callers | 124 // FIXME: This is a temporary hack to support RemoteFrames, and callers |
| 126 // should be updated to avoid storing things on the main frame. | 125 // should be updated to avoid storing things on the main frame. |
| 127 LocalFrame* localFrameRoot(); | 126 LocalFrame* localFrameRoot(); |
| 128 | 127 |
| 129 InstrumentingAgents* instrumentingAgents(); | |
| 130 void setInstrumentingAgents(InstrumentingAgents*); | |
| 131 | |
| 132 // ======== All public functions below this point are candidates to move out
of LocalFrame into another class. ======== | 128 // ======== All public functions below this point are candidates to move out
of LocalFrame into another class. ======== |
| 133 | 129 |
| 134 bool inScope(TreeScope*) const; | 130 bool inScope(TreeScope*) const; |
| 135 | 131 |
| 136 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& t
otalObjects, bool& isPartial); | 132 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& t
otalObjects, bool& isPartial); |
| 137 | 133 |
| 138 // See GraphicsLayerClient.h for accepted flags. | 134 // See GraphicsLayerClient.h for accepted flags. |
| 139 String layerTreeAsText(unsigned flags = 0) const; | 135 String layerTreeAsText(unsigned flags = 0) const; |
| 140 | 136 |
| 141 void setPrinting(bool printing, const FloatSize& pageSize, const FloatSi
ze& originalPageSize, float maximumShrinkRatio); | 137 void setPrinting(bool printing, const FloatSize& pageSize, const FloatSi
ze& originalPageSize, float maximumShrinkRatio); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 // weak callback, the set itself is not on the heap and the | 215 // weak callback, the set itself is not on the heap and the |
| 220 // references are bare pointers (rather than WeakMembers.) | 216 // references are bare pointers (rather than WeakMembers.) |
| 221 // See LocalFrame::clearWeakMembers(). | 217 // See LocalFrame::clearWeakMembers(). |
| 222 HashSet<HTMLPlugInElement*> m_pluginElements; | 218 HashSet<HTMLPlugInElement*> m_pluginElements; |
| 223 #endif | 219 #endif |
| 224 | 220 |
| 225 float m_pageZoomFactor; | 221 float m_pageZoomFactor; |
| 226 float m_textZoomFactor; | 222 float m_textZoomFactor; |
| 227 | 223 |
| 228 bool m_inViewSourceMode; | 224 bool m_inViewSourceMode; |
| 229 | |
| 230 RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; | |
| 231 }; | 225 }; |
| 232 | 226 |
| 233 inline void LocalFrame::init() | 227 inline void LocalFrame::init() |
| 234 { | 228 { |
| 235 m_loader.init(); | 229 m_loader.init(); |
| 236 } | 230 } |
| 237 | 231 |
| 238 inline LocalDOMWindow* LocalFrame::localDOMWindow() const | 232 inline LocalDOMWindow* LocalFrame::localDOMWindow() const |
| 239 { | 233 { |
| 240 return m_domWindow.get(); | 234 return m_domWindow.get(); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 298 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
| 305 | 299 |
| 306 } // namespace blink | 300 } // namespace blink |
| 307 | 301 |
| 308 // During refactoring, there are some places where we need to do type conversion
s that | 302 // During refactoring, there are some places where we need to do type conversion
s that |
| 309 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 303 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
| 310 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 304 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
| 311 #define toLocalFrameTemporary toLocalFrame | 305 #define toLocalFrameTemporary toLocalFrame |
| 312 | 306 |
| 313 #endif // LocalFrame_h | 307 #endif // LocalFrame_h |
| OLD | NEW |