| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. | 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Virtual methods to convert points to/from child widgets | 119 // Virtual methods to convert points to/from child widgets |
| 120 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; | 120 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; |
| 121 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; | 121 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; |
| 122 | 122 |
| 123 // Notifies this widget that it will no longer be receiving events. | 123 // Notifies this widget that it will no longer be receiving events. |
| 124 virtual void eventListenersRemoved() {} | 124 virtual void eventListenersRemoved() {} |
| 125 | 125 |
| 126 DECLARE_VIRTUAL_TRACE(); | 126 DECLARE_VIRTUAL_TRACE(); |
| 127 virtual void dispose() {} | 127 virtual void dispose() {} |
| 128 | 128 |
| 129 virtual bool shouldSendScrollbarUseUMA(int part) { return false; } |
| 130 |
| 129 private: | 131 private: |
| 130 Member<Widget> m_parent; | 132 Member<Widget> m_parent; |
| 131 IntRect m_frameRect; | 133 IntRect m_frameRect; |
| 132 bool m_selfVisible; | 134 bool m_selfVisible; |
| 133 bool m_parentVisible; | 135 bool m_parentVisible; |
| 134 }; | 136 }; |
| 135 | 137 |
| 136 } // namespace blink | 138 } // namespace blink |
| 137 | 139 |
| 138 #endif // Widget_h | 140 #endif // Widget_h |
| OLD | NEW |