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 | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
9 * reserved. | 9 * reserved. |
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "platform/graphics/ImageOrientation.h" | 41 #include "platform/graphics/ImageOrientation.h" |
42 #include "platform/heap/Handle.h" | 42 #include "platform/heap/Handle.h" |
43 #include "platform/scroll/ScrollTypes.h" | 43 #include "platform/scroll/ScrollTypes.h" |
44 #include "platform/wtf/HashSet.h" | 44 #include "platform/wtf/HashSet.h" |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class Color; | 48 class Color; |
49 class ContentSettingsClient; | 49 class ContentSettingsClient; |
50 class Document; | 50 class Document; |
51 class DragImage; | |
52 class Editor; | 51 class Editor; |
53 template <typename Traversal> | 52 template <typename Traversal> |
54 class EditingAlgorithm; | 53 class EditingAlgorithm; |
55 class Element; | 54 class Element; |
56 template <typename Strategy> | 55 template <typename Strategy> |
57 class EphemeralRangeTemplate; | 56 class EphemeralRangeTemplate; |
58 class EventHandler; | 57 class EventHandler; |
59 class FetchParameters; | 58 class FetchParameters; |
60 class FloatSize; | 59 class FloatSize; |
61 class FrameConsole; | 60 class FrameConsole; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 void SetPageZoomFactor(float); | 189 void SetPageZoomFactor(float); |
191 float PageZoomFactor() const { return page_zoom_factor_; } | 190 float PageZoomFactor() const { return page_zoom_factor_; } |
192 void SetTextZoomFactor(float); | 191 void SetTextZoomFactor(float); |
193 float TextZoomFactor() const { return text_zoom_factor_; } | 192 float TextZoomFactor() const { return text_zoom_factor_; } |
194 void SetPageAndTextZoomFactors(float page_zoom_factor, | 193 void SetPageAndTextZoomFactors(float page_zoom_factor, |
195 float text_zoom_factor); | 194 float text_zoom_factor); |
196 | 195 |
197 void DeviceScaleFactorChanged(); | 196 void DeviceScaleFactorChanged(); |
198 double DevicePixelRatio() const; | 197 double DevicePixelRatio() const; |
199 | 198 |
200 std::unique_ptr<DragImage> NodeImage(Node&); | |
201 std::unique_ptr<DragImage> DragImageForSelection(float opacity); | |
202 | |
203 String SelectedText() const; | 199 String SelectedText() const; |
204 String SelectedTextForClipboard() const; | 200 String SelectedTextForClipboard() const; |
205 | 201 |
206 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> | 202 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> |
207 PositionForPoint(const IntPoint& frame_point); | 203 PositionForPoint(const IntPoint& frame_point); |
208 Document* DocumentAtPoint(const IntPoint&); | 204 Document* DocumentAtPoint(const IntPoint&); |
209 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> RangeForPoint( | 205 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> RangeForPoint( |
210 const IntPoint& frame_point); | 206 const IntPoint& frame_point); |
211 | 207 |
212 bool ShouldReuseDefaultView(const KURL&) const; | 208 bool ShouldReuseDefaultView(const KURL&) const; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 explicit ScopedFrameBlamer(LocalFrame*); | 395 explicit ScopedFrameBlamer(LocalFrame*); |
400 ~ScopedFrameBlamer(); | 396 ~ScopedFrameBlamer(); |
401 | 397 |
402 private: | 398 private: |
403 Member<LocalFrame> frame_; | 399 Member<LocalFrame> frame_; |
404 }; | 400 }; |
405 | 401 |
406 } // namespace blink | 402 } // namespace blink |
407 | 403 |
408 #endif // LocalFrame_h | 404 #endif // LocalFrame_h |
OLD | NEW |