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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #ifndef Widget_h | 28 #ifndef Widget_h |
29 #define Widget_h | 29 #define Widget_h |
30 | 30 |
31 #include "platform/PlatformExport.h" | 31 #include "platform/PlatformExport.h" |
32 #include "platform/geometry/FloatPoint.h" | 32 #include "platform/geometry/FloatPoint.h" |
33 #include "platform/geometry/IntRect.h" | 33 #include "platform/geometry/IntRect.h" |
34 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
35 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace blink { |
38 | 38 |
39 class Event; | 39 class Event; |
40 class GraphicsContext; | 40 class GraphicsContext; |
41 class HostWindow; | 41 class HostWindow; |
42 | 42 |
43 // The Widget class serves as a base class for three kinds of objects: | 43 // The Widget class serves as a base class for three kinds of objects: |
44 // (1) Scrollable areas (ScrollView) | 44 // (1) Scrollable areas (ScrollView) |
45 // (2) Scrollbars (Scrollbar) | 45 // (2) Scrollbars (Scrollbar) |
46 // (3) Plugins (PluginView) | 46 // (3) Plugins (PluginView) |
47 // | 47 // |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 virtual void detach() { } | 137 virtual void detach() { } |
138 #endif | 138 #endif |
139 | 139 |
140 private: | 140 private: |
141 Widget* m_parent; | 141 Widget* m_parent; |
142 IntRect m_frame; | 142 IntRect m_frame; |
143 bool m_selfVisible; | 143 bool m_selfVisible; |
144 bool m_parentVisible; | 144 bool m_parentVisible; |
145 }; | 145 }; |
146 | 146 |
147 } // namespace WebCore | 147 } // namespace blink |
148 | 148 |
149 #endif // Widget_h | 149 #endif // Widget_h |
OLD | NEW |