Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2934233002: In-place modification of drag related functionality present in LocalFrame (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 void SetPageZoomFactor(float); 194 void SetPageZoomFactor(float);
195 float PageZoomFactor() const { return page_zoom_factor_; } 195 float PageZoomFactor() const { return page_zoom_factor_; }
196 void SetTextZoomFactor(float); 196 void SetTextZoomFactor(float);
197 float TextZoomFactor() const { return text_zoom_factor_; } 197 float TextZoomFactor() const { return text_zoom_factor_; }
198 void SetPageAndTextZoomFactors(float page_zoom_factor, 198 void SetPageAndTextZoomFactors(float page_zoom_factor,
199 float text_zoom_factor); 199 float text_zoom_factor);
200 200
201 void DeviceScaleFactorChanged(); 201 void DeviceScaleFactorChanged();
202 double DevicePixelRatio() const; 202 double DevicePixelRatio() const;
203 203
204 std::unique_ptr<DragImage> NodeImage(Node&); 204 std::unique_ptr<DragImage> NodeImage(const LocalFrame&, Node&);
205 std::unique_ptr<DragImage> DragImageForSelection(float opacity); 205 std::unique_ptr<DragImage> DragImageForSelection(const LocalFrame&,
206 float opacity);
206 207
207 String SelectedText() const; 208 String SelectedText() const;
208 String SelectedTextForClipboard() const; 209 String SelectedTextForClipboard() const;
209 210
210 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> 211 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>>
211 PositionForPoint(const IntPoint& frame_point); 212 PositionForPoint(const IntPoint& frame_point);
212 Document* DocumentAtPoint(const IntPoint&); 213 Document* DocumentAtPoint(const IntPoint&);
213 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> RangeForPoint( 214 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> RangeForPoint(
214 const IntPoint& frame_point); 215 const IntPoint& frame_point);
215 216
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 explicit ScopedFrameBlamer(LocalFrame*); 421 explicit ScopedFrameBlamer(LocalFrame*);
421 ~ScopedFrameBlamer(); 422 ~ScopedFrameBlamer();
422 423
423 private: 424 private:
424 Member<LocalFrame> frame_; 425 Member<LocalFrame> frame_;
425 }; 426 };
426 427
427 } // namespace blink 428 } // namespace blink
428 429
429 #endif // LocalFrame_h 430 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698