Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2012823003: Move IME related functions from WebFrame to WebLocalFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add CHECK in TextInputController::HasMarkedText() Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "platform/heap/SelfKeepAlive.h" 9 #include "platform/heap/SelfKeepAlive.h"
10 #include "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool replace) override; 75 bool replace) override;
76 void stopLoading() override; 76 void stopLoading() override;
77 WebDataSource* provisionalDataSource() const override; 77 WebDataSource* provisionalDataSource() const override;
78 WebDataSource* dataSource() const override; 78 WebDataSource* dataSource() const override;
79 void enableViewSourceMode(bool enable) override; 79 void enableViewSourceMode(bool enable) override;
80 bool isViewSourceModeEnabled() const override; 80 bool isViewSourceModeEnabled() const override;
81 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 81 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
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;
86 void setMarkedText(const WebString&, unsigned location, unsigned length) ove rride;
87 void unmarkText() override;
88 bool hasMarkedText() const override;
89 WebRange markedRange() const override;
90 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect& ) const override;
91 size_t characterIndexForPoint(const WebPoint&) const override;
92 bool executeCommand(const WebString&) override;
93 bool executeCommand(const WebString&, const WebString& value) override;
94 bool isCommandEnabled(const WebString&) const override;
95 void enableContinuousSpellChecking(bool) override;
96 bool isContinuousSpellCheckingEnabled() const override;
97 void requestTextChecking(const WebElement&) override;
98 void removeSpellingMarkers() override;
99 bool hasSelection() const override;
100 WebRange selectionRange() const override;
101 WebString selectionAsText() const override;
102 WebString selectionAsMarkup() const override;
103 bool selectWordAroundCaret() override;
104 void selectRange(const WebPoint& base, const WebPoint& extent) override;
105 void selectRange(const WebRange&) override;
106 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override;
107 void moveCaretSelection(const WebPoint&) override;
108 bool setEditableSelectionOffsets(int start, int end) override;
109 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override;
110 void extendSelectionAndDelete(int before, int after) override;
111 void setCaretVisible(bool) override;
112 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de; 85 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de;
113 float printPage(int pageToPrint, WebCanvas*) override; 86 float printPage(int pageToPrint, WebCanvas*) override;
114 float getPrintPageShrink(int page) override; 87 float getPrintPageShrink(int page) override;
115 void printEnd() override; 88 void printEnd() override;
116 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 89 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
117 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 90 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
118 void dispatchMessageEventWithOriginCheck( 91 void dispatchMessageEventWithOriginCheck(
119 const WebSecurityOrigin& intendedTargetOrigin, 92 const WebSecurityOrigin& intendedTargetOrigin,
120 const WebDOMEvent&) override; 93 const WebDOMEvent&) override;
121 94
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Accomplish that by keeping a self-referential Persistent<>. It is 151 // Accomplish that by keeping a self-referential Persistent<>. It is
179 // cleared upon close(). 152 // cleared upon close().
180 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 153 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
181 }; 154 };
182 155
183 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 156 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
184 157
185 } // namespace blink 158 } // namespace blink
186 159
187 #endif // WebRemoteFrameImpl_h 160 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698