| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
| 6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
| 7 | 7 |
| 8 #include "core/frame/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.h" |
| 9 #include "public/web/WebRemoteFrame.h" | 9 #include "public/web/WebRemoteFrame.h" |
| 10 #include "public/web/WebRemoteFrameClient.h" | 10 #include "public/web/WebRemoteFrameClient.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 void dispatchWillSendRequest(WebURLRequest&) override; | 82 void dispatchWillSendRequest(WebURLRequest&) override; |
| 83 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override
; | 83 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override
; |
| 84 unsigned unloadListenerCount() const override; | 84 unsigned unloadListenerCount() const override; |
| 85 void insertText(const WebString&) override; | 85 void insertText(const WebString&) override; |
| 86 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; | 86 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; |
| 87 void unmarkText() override; | 87 void unmarkText() override; |
| 88 bool hasMarkedText() const override; | 88 bool hasMarkedText() const override; |
| 89 WebRange markedRange() const override; | 89 WebRange markedRange() const override; |
| 90 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; | 90 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; |
| 91 size_t characterIndexForPoint(const WebPoint&) const override; | 91 size_t characterIndexForPoint(const WebPoint&) const override; |
| 92 bool executeCommand(const WebString&, const WebNode& = WebNode()) override; | 92 bool executeCommand(const WebString&) override; |
| 93 bool executeCommand(const WebString&, const WebString& value, const WebNode&
= WebNode()) override; | 93 bool executeCommand(const WebString&, const WebString& value) override; |
| 94 bool isCommandEnabled(const WebString&) const override; | 94 bool isCommandEnabled(const WebString&) const override; |
| 95 void enableContinuousSpellChecking(bool) override; | 95 void enableContinuousSpellChecking(bool) override; |
| 96 bool isContinuousSpellCheckingEnabled() const override; | 96 bool isContinuousSpellCheckingEnabled() const override; |
| 97 void requestTextChecking(const WebElement&) override; | 97 void requestTextChecking(const WebElement&) override; |
| 98 void removeSpellingMarkers() override; | 98 void removeSpellingMarkers() override; |
| 99 bool hasSelection() const override; | 99 bool hasSelection() const override; |
| 100 WebRange selectionRange() const override; | 100 WebRange selectionRange() const override; |
| 101 WebString selectionAsText() const override; | 101 WebString selectionAsText() const override; |
| 102 WebString selectionAsMarkup() const override; | 102 WebString selectionAsMarkup() const override; |
| 103 bool selectWordAroundCaret() override; | 103 bool selectWordAroundCaret() override; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // Accomplish that by keeping a self-referential Persistent<>. It is | 184 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 185 // cleared upon close(). | 185 // cleared upon close(). |
| 186 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 186 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| 192 | 192 |
| 193 #endif // WebRemoteFrameImpl_h | 193 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |