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

Side by Side Diff: third_party/WebKit/public/platform/WebDragData.h

Issue 2582463002: Fix webkitGetEntry for non-native files. (Closed)
Patch Set: . Created 4 years 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Only valid when storageType == StorageTypeBinaryData. 73 // Only valid when storageType == StorageTypeBinaryData.
74 WebData binaryData; 74 WebData binaryData;
75 75
76 // Title associated with a link when stringType == "text/uri-list". 76 // Title associated with a link when stringType == "text/uri-list".
77 // Filename when storageType == StorageTypeBinaryData. 77 // Filename when storageType == StorageTypeBinaryData.
78 WebString title; 78 WebString title;
79 79
80 // Only valid when storageType == StorageTypeFileSystemFile. 80 // Only valid when storageType == StorageTypeFileSystemFile.
81 WebURL fileSystemURL; 81 WebURL fileSystemURL;
82 long long fileSystemFileSize; 82 long long fileSystemFileSize;
83 WebString fileSystemId;
83 84
84 // Only valid when stringType == "text/html". 85 // Only valid when stringType == "text/html".
85 WebURL baseURL; 86 WebURL baseURL;
86 }; 87 };
87 88
88 WebDragData() : m_valid(false), m_modifierKeyState(0) {} 89 WebDragData() : m_valid(false), m_modifierKeyState(0) {}
89 90
90 WebDragData(const WebDragData& object) 91 WebDragData(const WebDragData& object)
91 : m_valid(object.m_valid), 92 : m_valid(object.m_valid),
92 m_itemList(object.m_itemList), 93 m_itemList(object.m_itemList),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 private: 134 private:
134 bool m_valid; 135 bool m_valid;
135 WebVector<Item> m_itemList; 136 WebVector<Item> m_itemList;
136 int m_modifierKeyState; // State of Shift/Ctrl/Alt/Meta keys. 137 int m_modifierKeyState; // State of Shift/Ctrl/Alt/Meta keys.
137 WebString m_filesystemId; 138 WebString m_filesystemId;
138 }; 139 };
139 140
140 } // namespace blink 141 } // namespace blink
141 142
142 #endif 143 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698