| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |