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

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

Issue 1411913010: Propagate drag-and-drop key modifiers to WebView's guest renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix initialiser order. Created 4 years, 7 months 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/core/clipboard/DataObject.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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 { 130 {
131 return m_filesystemId; 131 return m_filesystemId;
132 } 132 }
133 133
134 void setFilesystemId(const WebString& filesystemId) 134 void setFilesystemId(const WebString& filesystemId)
135 { 135 {
136 // The ID is an opaque string, given by and validated by chromium port. 136 // The ID is an opaque string, given by and validated by chromium port.
137 m_filesystemId = filesystemId; 137 m_filesystemId = filesystemId;
138 } 138 }
139 139
140 int modifierKeyState() const
141 {
142 return m_modifierKeyState;
143 }
144
145 void setModifierKeyState(int state)
146 {
147 m_modifierKeyState = state;
148 }
149
140 private: 150 private:
141 bool m_valid; 151 bool m_valid;
142 WebVector<Item> m_itemList; 152 WebVector<Item> m_itemList;
143 int m_modifierKeyState; // State of Shift/Ctrl/Alt/Meta keys. 153 int m_modifierKeyState; // State of Shift/Ctrl/Alt/Meta keys.
144 WebString m_filesystemId; 154 WebString m_filesystemId;
145 }; 155 };
146 156
147 } // namespace blink 157 } // namespace blink
148 158
149 #endif 159 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698