| Index: third_party/WebKit/public/platform/WebDragData.h
|
| diff --git a/third_party/WebKit/public/platform/WebDragData.h b/third_party/WebKit/public/platform/WebDragData.h
|
| index dd3254a75d873cd50c3bd189765f15cabd23f638..f7ac3bee23faf245218aebccc5267fc18f6f1f35 100644
|
| --- a/third_party/WebKit/public/platform/WebDragData.h
|
| +++ b/third_party/WebKit/public/platform/WebDragData.h
|
| @@ -86,11 +86,13 @@ public:
|
|
|
| WebDragData()
|
| : m_valid(false)
|
| + , m_canReadContent(true)
|
| , m_modifierKeyState(0)
|
| { }
|
|
|
| WebDragData(const WebDragData& object)
|
| : m_valid(object.m_valid)
|
| + , m_canReadContent(object.m_canReadContent)
|
| , m_itemList(object.m_itemList)
|
| , m_modifierKeyState(object.m_modifierKeyState)
|
| , m_filesystemId(object.m_filesystemId)
|
| @@ -99,6 +101,7 @@ public:
|
| WebDragData& operator=(const WebDragData& object)
|
| {
|
| m_valid = object.m_valid;
|
| + m_canReadContent = object.m_canReadContent;
|
| m_itemList = object.m_itemList;
|
| m_modifierKeyState = object.m_modifierKeyState;
|
| m_filesystemId = object.m_filesystemId;
|
| @@ -137,8 +140,16 @@ public:
|
| m_filesystemId = filesystemId;
|
| }
|
|
|
| + void setCanReadContent(bool canReadContent)
|
| + {
|
| + m_canReadContent = canReadContent;
|
| + }
|
| +
|
| + bool canReadContent() const { return m_canReadContent; }
|
| +
|
| private:
|
| bool m_valid;
|
| + bool m_canReadContent;
|
| WebVector<Item> m_itemList;
|
| int m_modifierKeyState; // State of Shift/Ctrl/Alt/Meta keys.
|
| WebString m_filesystemId;
|
|
|