Home
last modified time | relevance | path

Searched refs:dragImage (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DDragImageTest.cpp115 OwnPtr<DragImage> dragImage = DragImage::create(testImage.get()); in TEST() local
116 ASSERT_TRUE(dragImage); in TEST()
118 dragImage->scale(0.5, 0.5); in TEST()
119 IntSize size = dragImage->size(); in TEST()
123 dragImage->dissolveToFraction(0.5); in TEST()
138 OwnPtr<DragImage> dragImage = DragImage::create(testImage.get()); in TEST() local
139 ASSERT_TRUE(dragImage); in TEST()
140 …SkAutoLockPixels lock1(dragImage->bitmap()), lock2(testImage->nativeImageForCurrentFrame()->bitmap… in TEST()
141 …EXPECT_NE(dragImage->bitmap().getPixels(), testImage->nativeImageForCurrentFrame()->bitmap().getPi… in TEST()
/external/chromium_org/third_party/WebKit/Source/web/
DDragClientImpl.cpp61 void DragClientImpl::startDrag(DragImage* dragImage, const IntPoint& dragImageOrigin, const IntPoin… in startDrag() argument
72 if (dragImage) { in startDrag()
73 float resolutionScale = dragImage->resolutionScale(); in startDrag()
77 dragImage->scale(scale, scale); in startDrag()
79 image = dragImage->bitmap(); in startDrag()
DWebViewImpl.h405 const WebImage& dragImage,
DWebViewImpl.cpp3928 const WebImage& dragImage, in startDragging() argument
3935 …m_client->startDragging(WebLocalFrameImpl::fromFrame(frame), dragData, mask, dragImage, dragImageO… in startDragging()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragController.cpp805 OwnPtr<DragImage> dragImage; in dragImageForImage() local
809 …&& (dragImage = DragImage::create(image, element->renderer() ? element->renderer()->shouldRespectI… in dragImageForImage()
813 dragImage->fitToMaxSize(imageRect.size(), maxDragImageSize()); in dragImageForImage()
814 dragImage->dissolveToFraction(DragImageAlpha); in dragImageForImage()
815 IntSize newSize = dragImage->size(); in dragImageForImage()
828 return dragImage.release(); in dragImageForImage()
835 …OwnPtr<DragImage> dragImage = DragImage::create(linkURL, linkText, fontDescription, deviceScaleFac… in dragImageForLink() local
837 IntSize size = dragImage ? dragImage->size() : IntSize(); in dragImageForLink()
841 return dragImage.release(); in dragImageForLink()
869 OwnPtr<DragImage> dragImage = dataTransfer->createDragImage(dragOffset, src); in startDrag() local
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_item_drag_mac.mm33 [[view window] dragImage:icon->ToNSImage()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button.mm47 - (NSImage*)dragImage; method in Private
215 NSImage* image = [self dragImage];
217 [self dragImage:image at:NSMakePoint(0, yAt) offset:dragOffset
443 - (NSImage*)dragImage { method in Private
Dbookmark_drag_drop_cocoa.mm168 [window dragImage:drag_image
/external/chromium_org/content/browser/web_contents/
Dweb_drag_source_mac.mm99 - (NSImage*)dragImage; method in Private
252 [window dragImage:[self dragImage]
457 - (NSImage*)dragImage { method in Private
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp5906 static void nodeImageTestValidation(const IntSize& referenceBitmapSize, DragImage* dragImage) in nodeImageTestValidation() argument
5914 EXPECT_EQ(referenceBitmapSize.width(), dragImage->size().width()); in nodeImageTestValidation()
5915 EXPECT_EQ(referenceBitmapSize.height(), dragImage->size().height()); in nodeImageTestValidation()
5916 const SkBitmap& dragBitmap = dragImage->bitmap(); in nodeImageTestValidation()
5924 …OwnPtr<DragImage> dragImage = nodeImageTestSetup(&webViewHelper, std::string("case-css-transform")… in TEST_F() local
5925 EXPECT_TRUE(dragImage); in TEST_F()
5927 nodeImageTestValidation(IntSize(40, 40), dragImage.get()); in TEST_F()
5933 …OwnPtr<DragImage> dragImage = nodeImageTestSetup(&webViewHelper, std::string("case-css-3dtransform… in TEST_F() local
5934 EXPECT_TRUE(dragImage); in TEST_F()
5936 nodeImageTestValidation(IntSize(20, 40), dragImage.get()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell.mm472 // -[NSView dragImage:at:*] wants the images lower-left point,
479 [[controlView window] dragImage:image
Dautocomplete_text_field_editor.mm87 [self dragImage:image
Dautocomplete_text_field_unittest.mm601 // AutocompleteTextField notes in -dragImage:*.