OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008, The Android Open Source Project | 2 * Copyright 2008, The Android Open Source Project |
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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 FloatPoint m_clientPos; | 114 FloatPoint m_clientPos; |
115 // Position relative to the screen in DIPs. | 115 // Position relative to the screen in DIPs. |
116 FloatPoint m_screenPos; | 116 FloatPoint m_screenPos; |
117 // Position relative to the page in CSS px. | 117 // Position relative to the page in CSS px. |
118 FloatPoint m_pagePos; | 118 FloatPoint m_pagePos; |
119 // Radius in CSS px. | 119 // Radius in CSS px. |
120 FloatSize m_radius; | 120 FloatSize m_radius; |
121 float m_rotationAngle; | 121 float m_rotationAngle; |
122 float m_force; | 122 float m_force; |
123 String m_region; | 123 String m_region; |
124 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on screen
Pos, pagePos | 124 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on |
125 // or clientPos? absoluteLocation appears to be the same as pagePos but withou
t browser | 125 // screenPos, pagePos or clientPos? absoluteLocation appears to be the same as |
126 // scale applied. | 126 // pagePos but without browser scale applied. |
127 LayoutPoint m_absoluteLocation; | 127 LayoutPoint m_absoluteLocation; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace blink | 130 } // namespace blink |
131 | 131 |
132 #endif // Touch_h | 132 #endif // Touch_h |
OLD | NEW |