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