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

Unified Diff: third_party/WebKit/Source/platform/FrameViewBase.h

Issue 2721133003: Rename platform/Widget to platform/FrameViewBase in platform. (Closed)
Patch Set: Rename platform/Widget to platform/FrameViewBase in platform. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/FrameViewBase.h
diff --git a/third_party/WebKit/Source/platform/FrameViewBase.h b/third_party/WebKit/Source/platform/FrameViewBase.h
index 7f052e1bec55a45c355d93411a03b8d1dd035d1a..6692b28a167a2555a9624f401798de832d34a3e7 100644
--- a/third_party/WebKit/Source/platform/FrameViewBase.h
+++ b/third_party/WebKit/Source/platform/FrameViewBase.h
@@ -44,10 +44,11 @@ class GraphicsContext;
// The FrameViewBase class serves as a base class for FrameView, Scrollbar, and
// PluginView.
//
-// FrameViewBases are connected in a hierarchy, with the restriction that plugins and
-// scrollbars are always leaves of the tree. Only FrameView can have children
-// (and therefore the FrameViewBase class has no concept of children).
-class PLATFORM_EXPORT FrameViewBase : public GarbageCollectedFinalized<FrameViewBase> {
+// FrameViewBases are connected in a hierarchy, with the restriction that
+// plugins and scrollbars are always leaves of the tree. Only FrameView can have
+// children (and therefore the FrameViewBase class has no concept of children).
+class PLATFORM_EXPORT FrameViewBase
+ : public GarbageCollectedFinalized<FrameViewBase> {
public:
FrameViewBase();
virtual ~FrameViewBase();
@@ -94,7 +95,7 @@ class PLATFORM_EXPORT FrameViewBase : public GarbageCollectedFinalized<FrameView
virtual bool isPluginContainer() const { return false; }
virtual bool isScrollbar() const { return false; }
- virtual void setParent(FrameViewBase *);
+ virtual void setParent(FrameViewBase*);
FrameViewBase* parent() const { return m_parent; }
FrameViewBase* root() const;
@@ -117,8 +118,10 @@ class PLATFORM_EXPORT FrameViewBase : public GarbageCollectedFinalized<FrameView
virtual IntPoint convertFromContainingWidget(const IntPoint&) const;
// Virtual methods to convert points to/from child frameviewbases.
- virtual IntPoint convertChildToSelf(const FrameViewBase *, const IntPoint&) const;
- virtual IntPoint convertSelfToChild(const FrameViewBase *, const IntPoint&) const;
+ virtual IntPoint convertChildToSelf(const FrameViewBase*,
+ const IntPoint&) const;
+ virtual IntPoint convertSelfToChild(const FrameViewBase*,
+ const IntPoint&) const;
// Notifies this frameviewbase that it will no longer be receiving events.
virtual void eventListenersRemoved() {}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameViewTest.cpp ('k') | third_party/WebKit/Source/platform/FrameViewBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698