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

Unified Diff: Source/core/frame/LocalFrame.h

Issue 1290133002: SkImage-ify DragImage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: expectations Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalFrame.h
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h
index 38532581bd59590dcab145a78fa1fbcea7f2fc21..bb80049b91ff36f474d25ba3e12a93e3dea4f7d6 100644
--- a/Source/core/frame/LocalFrame.h
+++ b/Source/core/frame/LocalFrame.h
@@ -154,7 +154,7 @@ public:
double devicePixelRatio() const;
PassOwnPtr<DragImage> nodeImage(Node&);
- PassOwnPtr<DragImage> dragImageForSelection();
+ PassOwnPtr<DragImage> dragImageForSelection(float opacity);
String selectedText() const;
String selectedTextForClipboard() const;
@@ -192,7 +192,9 @@ private:
// Paints the area for the given rect into a DragImage, with the given displayItemClient id attached.
// The rect is in the coordinate space of the frame.
- PassOwnPtr<DragImage> paintIntoDragImage(const DisplayItemClientWrapper&, DisplayItem::Type, RespectImageOrientationEnum shouldRespectImageOrientation, const GlobalPaintFlags, IntRect paintingRect);
+ PassOwnPtr<DragImage> paintIntoDragImage(const DisplayItemClientWrapper&,
+ RespectImageOrientationEnum shouldRespectImageOrientation, const GlobalPaintFlags,
+ IntRect paintingRect, float opacity = 1);
mutable FrameLoader m_loader;
mutable NavigationScheduler m_navigationScheduler;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698