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/HashMap.h" | 10 #include "wtf/HashMap.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual void stopLoading() OVERRIDE; | 94 virtual void stopLoading() OVERRIDE; |
95 virtual WebDataSource* provisionalDataSource() const OVERRIDE; | 95 virtual WebDataSource* provisionalDataSource() const OVERRIDE; |
96 virtual WebDataSource* dataSource() const OVERRIDE; | 96 virtual WebDataSource* dataSource() const OVERRIDE; |
97 virtual void enableViewSourceMode(bool enable) OVERRIDE; | 97 virtual void enableViewSourceMode(bool enable) OVERRIDE; |
98 virtual bool isViewSourceModeEnabled() const OVERRIDE; | 98 virtual bool isViewSourceModeEnabled() const OVERRIDE; |
99 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O
VERRIDE; | 99 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O
VERRIDE; |
100 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; | 100 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; |
101 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&)
OVERRIDE; | 101 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&)
OVERRIDE; |
102 virtual unsigned unloadListenerCount() const OVERRIDE; | 102 virtual unsigned unloadListenerCount() const OVERRIDE; |
103 virtual void replaceSelection(const WebString&) OVERRIDE; | 103 virtual void replaceSelection(const WebString&) OVERRIDE; |
| 104 virtual bool setCaretSelectionFromRangeSelection() OVERRIDE; |
104 virtual void insertText(const WebString&) OVERRIDE; | 105 virtual void insertText(const WebString&) OVERRIDE; |
105 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) OVERRIDE; | 106 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) OVERRIDE; |
106 virtual void unmarkText() OVERRIDE; | 107 virtual void unmarkText() OVERRIDE; |
107 virtual bool hasMarkedText() const OVERRIDE; | 108 virtual bool hasMarkedText() const OVERRIDE; |
108 virtual WebRange markedRange() const OVERRIDE; | 109 virtual WebRange markedRange() const OVERRIDE; |
109 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const OVERRIDE; | 110 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const OVERRIDE; |
110 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE; | 111 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE; |
111 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV
ERRIDE; | 112 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV
ERRIDE; |
112 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) OVERRIDE; | 113 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) OVERRIDE; |
113 virtual bool isCommandEnabled(const WebString&) const OVERRIDE; | 114 virtual bool isCommandEnabled(const WebString&) const OVERRIDE; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 RefPtr<WebCore::RemoteFrame> m_frame; | 191 RefPtr<WebCore::RemoteFrame> m_frame; |
191 | 192 |
192 HashMap<WebFrame*, OwnPtr<WebCore::FrameOwner> > m_ownersForChildren; | 193 HashMap<WebFrame*, OwnPtr<WebCore::FrameOwner> > m_ownersForChildren; |
193 }; | 194 }; |
194 | 195 |
195 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 196 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
196 | 197 |
197 } // namespace blink | 198 } // namespace blink |
198 | 199 |
199 #endif // WebRemoteFrameImpl_h | 200 #endif // WebRemoteFrameImpl_h |
OLD | NEW |