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

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

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 months 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 24 matching lines...) Expand all
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; 43 class HostWindow;
44 44
45 // The Widget class serves as a base class for FrameView, Scrollbar, and PluginV iew. 45 // The Widget class serves as a base class for FrameView, Scrollbar, and
46 // PluginView.
46 // 47 //
47 // Widgets are connected in a hierarchy, with the restriction that plugins and 48 // Widgets are connected in a hierarchy, with the restriction that plugins and
48 // scrollbars are always leaves of the tree. Only FrameView can have children 49 // scrollbars are always leaves of the tree. Only FrameView can have children
49 // (and therefore the Widget class has no concept of children). 50 // (and therefore the Widget class has no concept of children).
50 class PLATFORM_EXPORT Widget : public GarbageCollectedFinalized<Widget> { 51 class PLATFORM_EXPORT Widget : public GarbageCollectedFinalized<Widget> {
51 public: 52 public:
52 Widget(); 53 Widget();
53 virtual ~Widget(); 54 virtual ~Widget();
54 55
55 int x() const { return frameRect().x(); } 56 int x() const { return frameRect().x(); }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 private: 130 private:
130 Member<Widget> m_parent; 131 Member<Widget> m_parent;
131 IntRect m_frameRect; 132 IntRect m_frameRect;
132 bool m_selfVisible; 133 bool m_selfVisible;
133 bool m_parentVisible; 134 bool m_parentVisible;
134 }; 135 };
135 136
136 } // namespace blink 137 } // namespace blink
137 138
138 #endif // Widget_h 139 #endif // Widget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/WebIconSizesParser.cpp ('k') | third_party/WebKit/Source/platform/Widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698