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