Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: third_party/WebKit/Source/platform/Widget.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
33 #include "platform/geometry/IntRect.h" 33 #include "platform/geometry/IntRect.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "public/platform/WebFocusType.h" 35 #include "public/platform/WebFocusType.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class CullRect; 40 class CullRect;
41 class Event; 41 class Event;
42 class GraphicsContext; 42 class GraphicsContext;
43 class HostWindow;
44 43
45 // The Widget class serves as a base class for FrameView, Scrollbar, and 44 // The Widget class serves as a base class for FrameView, Scrollbar, and
46 // PluginView. 45 // PluginView.
47 // 46 //
48 // Widgets are connected in a hierarchy, with the restriction that plugins and 47 // Widgets are connected in a hierarchy, with the restriction that plugins and
49 // scrollbars are always leaves of the tree. Only FrameView can have children 48 // scrollbars are always leaves of the tree. Only FrameView can have children
50 // (and therefore the Widget class has no concept of children). 49 // (and therefore the Widget class has no concept of children).
51 class PLATFORM_EXPORT Widget : public GarbageCollectedFinalized<Widget> { 50 class PLATFORM_EXPORT Widget : public GarbageCollectedFinalized<Widget> {
52 public: 51 public:
53 Widget(); 52 Widget();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 private: 129 private:
131 Member<Widget> m_parent; 130 Member<Widget> m_parent;
132 IntRect m_frameRect; 131 IntRect m_frameRect;
133 bool m_selfVisible; 132 bool m_selfVisible;
134 bool m_parentVisible; 133 bool m_parentVisible;
135 }; 134 };
136 135
137 } // namespace blink 136 } // namespace blink
138 137
139 #endif // Widget_h 138 #endif // Widget_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698