| 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 HitTestRequest_h |
| 24 #define HitTestRequest_h | 24 #define HitTestRequest_h |
| 25 | 25 |
| 26 #include "wtf/Allocator.h" |
| 26 #include "wtf/Assertions.h" | 27 #include "wtf/Assertions.h" |
| 27 | 28 |
| 28 namespace blink { | 29 namespace blink { |
| 29 | 30 |
| 30 class HitTestRequest { | 31 class HitTestRequest { |
| 32 DISALLOW_ALLOCATION(); |
| 31 public: | 33 public: |
| 32 enum RequestType { | 34 enum RequestType { |
| 33 ReadOnly = 1 << 1, | 35 ReadOnly = 1 << 1, |
| 34 Active = 1 << 2, | 36 Active = 1 << 2, |
| 35 Move = 1 << 3, | 37 Move = 1 << 3, |
| 36 Release = 1 << 4, | 38 Release = 1 << 4, |
| 37 IgnoreClipping = 1 << 5, | 39 IgnoreClipping = 1 << 5, |
| 38 SVGClipContent = 1 << 6, | 40 SVGClipContent = 1 << 6, |
| 39 TouchEvent = 1 << 7, | 41 TouchEvent = 1 << 7, |
| 40 AllowChildFrameContent = 1 << 8, | 42 AllowChildFrameContent = 1 << 8, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 return (m_requestType | CacheabilityBits) == (value.m_requestType | Cach
eabilityBits); | 89 return (m_requestType | CacheabilityBits) == (value.m_requestType | Cach
eabilityBits); |
| 88 } | 90 } |
| 89 | 91 |
| 90 private: | 92 private: |
| 91 HitTestRequestType m_requestType; | 93 HitTestRequestType m_requestType; |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 } // namespace blink | 96 } // namespace blink |
| 95 | 97 |
| 96 #endif // HitTestRequest_h | 98 #endif // HitTestRequest_h |
| OLD | NEW |