Index: Source/core/frame/LocalFrame.h |
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h |
index 4294e089d0beabce6f3fa3e4f13776918ee678d8..4fbeeb2183b4409ff9d2b8888591d38d1ec4a5b1 100644 |
--- a/Source/core/frame/LocalFrame.h |
+++ b/Source/core/frame/LocalFrame.h |
@@ -46,6 +46,7 @@ |
namespace blink { |
class Color; |
+ class DartController; |
class Document; |
class DragImage; |
class Editor; |
@@ -115,6 +116,7 @@ namespace blink { |
FrameSelection& selection() const; |
InputMethodController& inputMethodController() const; |
ScriptController& script() const; |
+ DartController& dart(); |
SpellChecker& spellChecker() const; |
FrameConsole& console() const; |
@@ -199,6 +201,7 @@ namespace blink { |
RefPtrWillBeMember<Element> m_pagePopupOwner; |
const OwnPtrWillBeMember<ScriptController> m_script; |
+ OwnPtr<DartController> m_dart; |
const OwnPtrWillBeMember<Editor> m_editor; |
const OwnPtrWillBeMember<SpellChecker> m_spellChecker; |
const OwnPtrWillBeMember<FrameSelection> m_selection; |
@@ -261,6 +264,11 @@ namespace blink { |
return *m_script; |
} |
+ inline DartController& LocalFrame::dart() |
+ { |
+ return *m_dart; |
+ } |
+ |
inline FrameSelection& LocalFrame::selection() const |
{ |
return *m_selection; |