1 /*
2 * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4
5 #include "config.h"
6
7 #include "NotImplemented.h"
8 #include "DataTransfer.h"
9 #include "Pasteboard.h"
10 #include "DragController.h"
11 #include "DragData.h"
12
13 namespace WebCore {
14
15 // FIXME: constants are from gtk port
16 const int DragController::MaxOriginalImageArea = 1500 * 1500;
17 const int DragController::DragIconRightInset = 7;
18 const int DragController::DragIconBottomInset = 3;
19 const float DragController::DragImageAlpha = 0.75f;
20
21 static bool copyKeyIsDown = false;
22 void setCopyKeyState(bool _copyKeyIsDown)
|
1 /*
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
3 */
4
5 #include "config.h"
6
7 #include "NotImplemented.h"
8 #include "DataTransfer.h"
9 #include "Pasteboard.h"
10 #include "DragController.h"
11 #include "DragData.h"
12
13 namespace WebCore {
14
15 // FIXME: constants are from gtk port
16 const int DragController::MaxOriginalImageArea = 1500 * 1500;
17 const int DragController::DragIconRightInset = 7;
18 const int DragController::DragIconBottomInset = 3;
19 const float DragController::DragImageAlpha = 0.75f;
20
21 static bool copyKeyIsDown = false;
22 void setCopyKeyState(bool _copyKeyIsDown)
|