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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2739573005: Rename Document::widgetForElement to frameViewBaseForElement (Closed)
Patch Set: Move Document::widgetForElement to Node::frameViewBase Created 3 years, 9 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/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 8710267557c4dfa5c54ea7caa3924226d6419189..5ce22f230b640f611df2f80b22d3a75d6d0911d7 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -36,6 +36,7 @@
#include "core/editing/EditingBoundary.h"
#include "core/events/EventTarget.h"
#include "core/style/ComputedStyleConstants.h"
+#include "platform/FrameViewBase.h"
esprehn 2017/03/10 07:24:32 Node.h is included in nearly every file, so this i
#include "platform/geometry/LayoutRect.h"
// This needs to be here because Element.cpp also depends on it.
@@ -576,6 +577,8 @@ class CORE_EXPORT Node : public EventTarget {
LayoutBox* layoutBox() const;
LayoutBoxModelObject* layoutBoxModelObject() const;
+ FrameViewBase* frameViewBase() const;
+
struct AttachContext {
STACK_ALLOCATED();
ComputedStyle* resolvedStyle = nullptr;

Powered by Google App Engine
This is Rietveld 408576698