| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 3 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
| 4 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) | 4 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 * | 20 * |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #ifndef HitTestRequest_h | 23 #ifndef SKY_ENGINE_CORE_RENDERING_HITTESTREQUEST_H_ |
| 24 #define HitTestRequest_h | 24 #define SKY_ENGINE_CORE_RENDERING_HITTESTREQUEST_H_ |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 | 27 |
| 28 class HitTestRequest { | 28 class HitTestRequest { |
| 29 public: | 29 public: |
| 30 enum RequestType { | 30 enum RequestType { |
| 31 ReadOnly = 1 << 1, | 31 ReadOnly = 1 << 1, |
| 32 Active = 1 << 2, | 32 Active = 1 << 2, |
| 33 Move = 1 << 3, | 33 Move = 1 << 3, |
| 34 Release = 1 << 4, | 34 Release = 1 << 4, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 bool touchRelease() const { return release() && touchEvent(); } | 66 bool touchRelease() const { return release() && touchEvent(); } |
| 67 | 67 |
| 68 HitTestRequestType type() const { return m_requestType; } | 68 HitTestRequestType type() const { return m_requestType; } |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 HitTestRequestType m_requestType; | 71 HitTestRequestType m_requestType; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // HitTestRequest_h | 76 #endif // SKY_ENGINE_CORE_RENDERING_HITTESTREQUEST_H_ |
| OLD | NEW |