OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. |
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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "Widget.h" | 32 #include "Widget.h" |
33 | 33 |
34 #include <wtf/Assertions.h> | 34 #include <wtf/Assertions.h> |
35 #include "HostWindow.h" | 35 #include "HostWindow.h" |
36 #include "ScrollView.h" | 36 #include "ScrollView.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 Widget::Widget(PlatformWidget widget) | 40 Widget::Widget() |
41 { | 41 { |
42 init(widget); | 42 init(); |
43 } | 43 } |
44 | 44 |
45 Widget::~Widget() | 45 Widget::~Widget() |
46 { | 46 { |
47 ASSERT(!parent()); | 47 ASSERT(!parent()); |
48 } | 48 } |
49 | 49 |
50 void Widget::show() | 50 void Widget::show() |
51 { | 51 { |
52 } | 52 } |
(...skipping 25 matching lines...) Expand all Loading... |
78 { | 78 { |
79 return m_frame; | 79 return m_frame; |
80 } | 80 } |
81 | 81 |
82 void Widget::setFrameRect(const IntRect& rect) | 82 void Widget::setFrameRect(const IntRect& rect) |
83 { | 83 { |
84 m_frame = rect; | 84 m_frame = rect; |
85 } | 85 } |
86 | 86 |
87 } // namespace WebCore | 87 } // namespace WebCore |
OLD | NEW |