/external/chromium_org/third_party/WebKit/Source/platform/ |
D | DragImageTest.cpp | 115 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/ |
D | DragClientImpl.cpp | 61 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()
|
D | WebViewImpl.h | 405 const WebImage& dragImage,
|
D | WebViewImpl.cpp | 3928 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/ |
D | DragController.cpp | 805 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/ |
D | download_item_drag_mac.mm | 33 [[view window] dragImage:icon->ToNSImage()
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_button.mm | 47 - (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
|
D | bookmark_drag_drop_cocoa.mm | 168 [window dragImage:drag_image
|
/external/chromium_org/content/browser/web_contents/ |
D | web_drag_source_mac.mm | 99 - (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/ |
D | WebFrameTest.cpp | 5906 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/ |
D | autocomplete_text_field_cell.mm | 472 // -[NSView dragImage:at:*] wants the images lower-left point, 479 [[controlView window] dragImage:image
|
D | autocomplete_text_field_editor.mm | 87 [self dragImage:image
|
D | autocomplete_text_field_unittest.mm | 601 // AutocompleteTextField notes in -dragImage:*.
|