| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "platform/Widget.h" | 28 #include "platform/Widget.h" |
| 29 | 29 |
| 30 | 30 |
| 31 #include "wtf/Assertions.h" | 31 #include "wtf/Assertions.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace blink { |
| 34 | 34 |
| 35 Widget::Widget() | 35 Widget::Widget() |
| 36 : m_parent(0) | 36 : m_parent(0) |
| 37 , m_selfVisible(false) | 37 , m_selfVisible(false) |
| 38 , m_parentVisible(false) | 38 , m_parentVisible(false) |
| 39 { | 39 { |
| 40 } | 40 } |
| 41 | 41 |
| 42 Widget::~Widget() | 42 Widget::~Widget() |
| 43 { | 43 { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 IntPoint Widget::convertChildToSelf(const Widget*, const IntPoint& point) const | 195 IntPoint Widget::convertChildToSelf(const Widget*, const IntPoint& point) const |
| 196 { | 196 { |
| 197 return point; | 197 return point; |
| 198 } | 198 } |
| 199 | 199 |
| 200 IntPoint Widget::convertSelfToChild(const Widget*, const IntPoint& point) const | 200 IntPoint Widget::convertSelfToChild(const Widget*, const IntPoint& point) const |
| 201 { | 201 { |
| 202 return point; | 202 return point; |
| 203 } | 203 } |
| 204 | 204 |
| 205 } // namespace WebCore | 205 } // namespace blink |
| OLD | NEW |