| Index: sky/engine/core/frame/LocalFrame.h
|
| diff --git a/sky/engine/core/frame/LocalFrame.h b/sky/engine/core/frame/LocalFrame.h
|
| index a9a46cb722ca92f654d4fb34bb5fc929f1039110..309a10a73098b3070b896a323742e32d3efa35e1 100644
|
| --- a/sky/engine/core/frame/LocalFrame.h
|
| +++ b/sky/engine/core/frame/LocalFrame.h
|
| @@ -53,6 +53,7 @@ namespace blink {
|
| class IntPoint;
|
| class IntSize;
|
| class MojoLoader;
|
| + class NewEventHandler;
|
| class Node;
|
| class Range;
|
| class RenderView;
|
| @@ -89,6 +90,7 @@ namespace blink {
|
|
|
| Editor& editor() const;
|
| EventHandler& eventHandler() const;
|
| + NewEventHandler& newEventHandler() const;
|
| MojoLoader& mojoLoader() const { return *m_mojoLoader; }
|
| FrameSelection& selection() const;
|
| InputMethodController& inputMethodController() const;
|
| @@ -132,6 +134,7 @@ namespace blink {
|
| const OwnPtr<SpellChecker> m_spellChecker;
|
| const OwnPtr<FrameSelection> m_selection;
|
| const OwnPtr<EventHandler> m_eventHandler;
|
| + const OwnPtr<NewEventHandler> m_newEventHandler;
|
| const OwnPtr<FrameConsole> m_console;
|
| OwnPtr<InputMethodController> m_inputMethodController;
|
| };
|
| @@ -177,6 +180,12 @@ namespace blink {
|
| return *m_eventHandler;
|
| }
|
|
|
| + inline NewEventHandler& LocalFrame::newEventHandler() const
|
| + {
|
| + ASSERT(m_newEventHandler);
|
| + return *m_newEventHandler;
|
| + }
|
| +
|
| DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, true, true);
|
|
|
| } // namespace blink
|
|
|