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 23 matching lines...) Expand all Loading... |
34 #include "core/frame/LocalFrameLifecycleNotifier.h" | 34 #include "core/frame/LocalFrameLifecycleNotifier.h" |
35 #include "core/frame/LocalFrameLifecycleObserver.h" | 35 #include "core/frame/LocalFrameLifecycleObserver.h" |
36 #include "core/loader/FrameLoader.h" | 36 #include "core/loader/FrameLoader.h" |
37 #include "core/page/FrameTree.h" | 37 #include "core/page/FrameTree.h" |
38 #include "core/paint/PaintPhase.h" | 38 #include "core/paint/PaintPhase.h" |
39 #include "platform/Supplementable.h" | 39 #include "platform/Supplementable.h" |
40 #include "platform/graphics/ImageOrientation.h" | 40 #include "platform/graphics/ImageOrientation.h" |
41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
42 #include "platform/scroll/ScrollTypes.h" | 42 #include "platform/scroll/ScrollTypes.h" |
43 #include "wtf/HashSet.h" | 43 #include "wtf/HashSet.h" |
44 #include <memory> | |
45 | 44 |
46 namespace blink { | 45 namespace blink { |
47 | 46 |
48 class Color; | 47 class Color; |
49 class Document; | 48 class Document; |
50 class DragImage; | 49 class DragImage; |
51 class Editor; | 50 class Editor; |
52 template <typename Traversal> class EditingAlgorithm; | 51 template <typename Traversal> class EditingAlgorithm; |
53 class Element; | 52 class Element; |
54 template <typename Strategy> class EphemeralRangeTemplate; | 53 template <typename Strategy> class EphemeralRangeTemplate; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 147 |
149 void setPageZoomFactor(float); | 148 void setPageZoomFactor(float); |
150 float pageZoomFactor() const { return m_pageZoomFactor; } | 149 float pageZoomFactor() const { return m_pageZoomFactor; } |
151 void setTextZoomFactor(float); | 150 void setTextZoomFactor(float); |
152 float textZoomFactor() const { return m_textZoomFactor; } | 151 float textZoomFactor() const { return m_textZoomFactor; } |
153 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor); | 152 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor); |
154 | 153 |
155 void deviceScaleFactorChanged(); | 154 void deviceScaleFactorChanged(); |
156 double devicePixelRatio() const; | 155 double devicePixelRatio() const; |
157 | 156 |
158 std::unique_ptr<DragImage> nodeImage(Node&); | 157 PassOwnPtr<DragImage> nodeImage(Node&); |
159 std::unique_ptr<DragImage> dragImageForSelection(float opacity); | 158 PassOwnPtr<DragImage> dragImageForSelection(float opacity); |
160 | 159 |
161 String selectedText() const; | 160 String selectedText() const; |
162 String selectedTextForClipboard() const; | 161 String selectedTextForClipboard() const; |
163 | 162 |
164 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> positionForPoi
nt(const IntPoint& framePoint); | 163 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> positionForPoi
nt(const IntPoint& framePoint); |
165 Document* documentAtPoint(const IntPoint&); | 164 Document* documentAtPoint(const IntPoint&); |
166 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(const
IntPoint& framePoint); | 165 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(const
IntPoint& framePoint); |
167 | 166 |
168 bool isURLAllowed(const KURL&) const; | 167 bool isURLAllowed(const KURL&) const; |
169 bool shouldReuseDefaultView(const KURL&) const; | 168 bool shouldReuseDefaultView(const KURL&) const; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 // Usually 0. Non-null if this is the top frame of PagePopup. | 205 // Usually 0. Non-null if this is the top frame of PagePopup. |
207 Member<Element> m_pagePopupOwner; | 206 Member<Element> m_pagePopupOwner; |
208 | 207 |
209 const Member<ScriptController> m_script; | 208 const Member<ScriptController> m_script; |
210 const Member<Editor> m_editor; | 209 const Member<Editor> m_editor; |
211 const Member<SpellChecker> m_spellChecker; | 210 const Member<SpellChecker> m_spellChecker; |
212 const Member<FrameSelection> m_selection; | 211 const Member<FrameSelection> m_selection; |
213 const Member<EventHandler> m_eventHandler; | 212 const Member<EventHandler> m_eventHandler; |
214 const Member<FrameConsole> m_console; | 213 const Member<FrameConsole> m_console; |
215 const Member<InputMethodController> m_inputMethodController; | 214 const Member<InputMethodController> m_inputMethodController; |
216 std::unique_ptr<WebFrameScheduler> m_frameScheduler; | 215 OwnPtr<WebFrameScheduler> m_frameScheduler; |
217 | 216 |
218 int m_navigationDisableCount; | 217 int m_navigationDisableCount; |
219 | 218 |
220 float m_pageZoomFactor; | 219 float m_pageZoomFactor; |
221 float m_textZoomFactor; | 220 float m_textZoomFactor; |
222 | 221 |
223 bool m_inViewSourceMode; | 222 bool m_inViewSourceMode; |
224 | 223 |
225 Member<InstrumentingAgents> m_instrumentingAgents; | 224 Member<InstrumentingAgents> m_instrumentingAgents; |
226 | 225 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 explicit ScopedFrameBlamer(LocalFrame*); | 333 explicit ScopedFrameBlamer(LocalFrame*); |
335 ~ScopedFrameBlamer(); | 334 ~ScopedFrameBlamer(); |
336 | 335 |
337 private: | 336 private: |
338 Member<LocalFrame> m_frame; | 337 Member<LocalFrame> m_frame; |
339 }; | 338 }; |
340 | 339 |
341 } // namespace blink | 340 } // namespace blink |
342 | 341 |
343 #endif // LocalFrame_h | 342 #endif // LocalFrame_h |
OLD | NEW |