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

Side by Side Diff: Source/web/WebLocalFrameImpl.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 | « no previous file | Source/web/WebLocalFrameImpl.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual void stopLoading() OVERRIDE; 149 virtual void stopLoading() OVERRIDE;
150 virtual WebDataSource* provisionalDataSource() const OVERRIDE; 150 virtual WebDataSource* provisionalDataSource() const OVERRIDE;
151 virtual WebDataSource* dataSource() const OVERRIDE; 151 virtual WebDataSource* dataSource() const OVERRIDE;
152 virtual void enableViewSourceMode(bool enable) OVERRIDE; 152 virtual void enableViewSourceMode(bool enable) OVERRIDE;
153 virtual bool isViewSourceModeEnabled() const OVERRIDE; 153 virtual bool isViewSourceModeEnabled() const OVERRIDE;
154 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O VERRIDE; 154 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O VERRIDE;
155 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; 155 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE;
156 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) OVERRIDE; 156 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) OVERRIDE;
157 virtual unsigned unloadListenerCount() const OVERRIDE; 157 virtual unsigned unloadListenerCount() const OVERRIDE;
158 virtual void replaceSelection(const WebString&) OVERRIDE; 158 virtual void replaceSelection(const WebString&) OVERRIDE;
159 virtual bool setCaretSelectionFromRangeSelection() OVERRIDE;
159 virtual void insertText(const WebString&) OVERRIDE; 160 virtual void insertText(const WebString&) OVERRIDE;
160 virtual void setMarkedText(const WebString&, unsigned location, unsigned len gth) OVERRIDE; 161 virtual void setMarkedText(const WebString&, unsigned location, unsigned len gth) OVERRIDE;
161 virtual void unmarkText() OVERRIDE; 162 virtual void unmarkText() OVERRIDE;
162 virtual bool hasMarkedText() const OVERRIDE; 163 virtual bool hasMarkedText() const OVERRIDE;
163 virtual WebRange markedRange() const OVERRIDE; 164 virtual WebRange markedRange() const OVERRIDE;
164 virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const OVERRIDE; 165 virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const OVERRIDE;
165 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE; 166 virtual size_t characterIndexForPoint(const WebPoint&) const OVERRIDE;
166 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV ERRIDE; 167 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) OV ERRIDE;
167 virtual bool executeCommand(const WebString&, const WebString& value, const WebNode& = WebNode()) OVERRIDE; 168 virtual bool executeCommand(const WebString&, const WebString& value, const WebNode& = WebNode()) OVERRIDE;
168 virtual bool isCommandEnabled(const WebString&) const OVERRIDE; 169 virtual bool isCommandEnabled(const WebString&) const OVERRIDE;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 UserMediaClientImpl m_userMediaClientImpl; 360 UserMediaClientImpl m_userMediaClientImpl;
360 361
361 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 362 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
362 }; 363 };
363 364
364 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 365 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
365 366
366 } // namespace blink 367 } // namespace blink
367 368
368 #endif 369 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698