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

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

Issue 330613002: Copying text closes the keyboard and the text input gets unfocused, forcing virtual keyboard is get… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed FrameSelection changes and making use of existing APIs for serving the requirement. Created 6 years, 6 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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698