| Index: third_party/WebKit/Source/core/page/EditorClient.h
|
| diff --git a/third_party/WebKit/Source/core/page/EditorClient.h b/third_party/WebKit/Source/core/page/EditorClient.h
|
| index 1634f879d4960f6e3b73b94c5128bb0a7b4b71f3..0956c9ec5bc400519ff17e5800acf5bc03a50ead 100644
|
| --- a/third_party/WebKit/Source/core/page/EditorClient.h
|
| +++ b/third_party/WebKit/Source/core/page/EditorClient.h
|
| @@ -27,24 +27,30 @@
|
| #ifndef EditorClient_h
|
| #define EditorClient_h
|
|
|
| +#include "core/CoreExport.h"
|
| #include "core/editing/SelectionType.h"
|
| #include "platform/wtf/Forward.h"
|
|
|
| namespace blink {
|
|
|
| class LocalFrame;
|
| +class WebViewBase;
|
|
|
| -class EditorClient {
|
| +class CORE_EXPORT EditorClient {
|
| public:
|
| - virtual ~EditorClient() {}
|
| + explicit EditorClient(WebViewBase*);
|
| + virtual ~EditorClient();
|
|
|
| - virtual void RespondToChangedContents() = 0;
|
| - virtual void RespondToChangedSelection(LocalFrame*, SelectionType) = 0;
|
| + virtual void RespondToChangedContents();
|
| + virtual void RespondToChangedSelection(LocalFrame*, SelectionType);
|
|
|
| - virtual bool CanCopyCut(LocalFrame*, bool default_value) const = 0;
|
| - virtual bool CanPaste(LocalFrame*, bool default_value) const = 0;
|
| + virtual bool CanCopyCut(LocalFrame*, bool default_value) const;
|
| + virtual bool CanPaste(LocalFrame*, bool default_value) const;
|
|
|
| - virtual bool HandleKeyboardEvent(LocalFrame*) = 0;
|
| + virtual bool HandleKeyboardEvent(LocalFrame*);
|
| +
|
| + private:
|
| + WebViewBase* web_view_;
|
| };
|
|
|
| } // namespace blink
|
|
|