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 "public/web/WebRemoteFrame.h" | 8 #include "public/web/WebRemoteFrame.h" |
9 #include "web/RemoteFrameClient.h" | 9 #include "web/RemoteFrameClient.h" |
10 #include "wtf/RefCounted.h" | 10 #include "wtf/RefCounted.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual void stopLoading() OVERRIDE; | 87 virtual void stopLoading() OVERRIDE; |
88 virtual WebDataSource* provisionalDataSource() const OVERRIDE; | 88 virtual WebDataSource* provisionalDataSource() const OVERRIDE; |
89 virtual WebDataSource* dataSource() const OVERRIDE; | 89 virtual WebDataSource* dataSource() const OVERRIDE; |
90 virtual void enableViewSourceMode(bool enable) OVERRIDE; | 90 virtual void enableViewSourceMode(bool enable) OVERRIDE; |
91 virtual bool isViewSourceModeEnabled() const OVERRIDE; | 91 virtual bool isViewSourceModeEnabled() const OVERRIDE; |
92 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O
VERRIDE; | 92 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O
VERRIDE; |
93 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; | 93 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; |
94 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&)
OVERRIDE; | 94 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&)
OVERRIDE; |
95 virtual unsigned unloadListenerCount() const OVERRIDE; | 95 virtual unsigned unloadListenerCount() const OVERRIDE; |
96 virtual void replaceSelection(const WebString&) OVERRIDE; | 96 virtual void replaceSelection(const WebString&) OVERRIDE; |
| 97 virtual bool setCaretSelectionFromRangeSelection() OVERRIDE; |
97 virtual void insertText(const WebString&) OVERRIDE; | 98 virtual void insertText(const WebString&) OVERRIDE; |
98 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) OVERRIDE; | 99 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) OVERRIDE; |
99 virtual void unmarkText() OVERRIDE; | 100 virtual void unmarkText() OVERRIDE; |
100 virtual bool hasMarkedText() const OVERRIDE; | 101 virtual bool hasMarkedText() const OVERRIDE; |
101 virtual WebRange markedRange() const OVERRIDE; | 102 virtual WebRange markedRange() const OVERRIDE; |
102 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const OVERRIDE; | 103 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const OVERRIDE; |
103 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE; | 104 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE; |
104 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV
ERRIDE; | 105 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV
ERRIDE; |
105 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) OVERRIDE; | 106 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) OVERRIDE; |
106 virtual bool isCommandEnabled(const WebString&) const OVERRIDE; | 107 virtual bool isCommandEnabled(const WebString&) const OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 RemoteFrameClient m_frameClient; | 177 RemoteFrameClient m_frameClient; |
177 RefPtr<WebCore::RemoteFrame> m_frame; | 178 RefPtr<WebCore::RemoteFrame> m_frame; |
178 }; | 179 }; |
179 | 180 |
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 181 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
181 | 182 |
182 | 183 |
183 } // namespace blink | 184 } // namespace blink |
184 | 185 |
185 #endif // WebRemoteFrameImpl_h | 186 #endif // WebRemoteFrameImpl_h |
OLD | NEW |