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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2157793002: Remove ContentViewCore::RequestTextSurroundingSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comments. 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
« no previous file with comments | « content/public/browser/android/content_view_core.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // use by resource metrics. 203 // use by resource metrics.
204 virtual int GetProxyCount() = 0; 204 virtual int GetProxyCount() = 0;
205 205
206 // Notifies the Listener that one or more files have been chosen by the user 206 // Notifies the Listener that one or more files have been chosen by the user
207 // from a file chooser dialog for the form. |permissions| is the file 207 // from a file chooser dialog for the form. |permissions| is the file
208 // selection mode in which the chooser dialog was created. 208 // selection mode in which the chooser dialog was created.
209 virtual void FilesSelectedInChooser( 209 virtual void FilesSelectedInChooser(
210 const std::vector<content::FileChooserFileInfo>& files, 210 const std::vector<content::FileChooserFileInfo>& files,
211 FileChooserParams::Mode permissions) = 0; 211 FileChooserParams::Mode permissions) = 0;
212 212
213 // Text surrounding selection.
214 typedef base::Callback<
215 void(const base::string16& content, int start_offset, int end_offset)>
216 TextSurroundingSelectionCallback;
217 virtual void RequestTextSurroundingSelection(
218 const TextSurroundingSelectionCallback& callback,
219 int max_length) = 0;
220
213 private: 221 private:
214 // This interface should only be implemented inside content. 222 // This interface should only be implemented inside content.
215 friend class RenderFrameHostImpl; 223 friend class RenderFrameHostImpl;
216 RenderFrameHost() {} 224 RenderFrameHost() {}
217 }; 225 };
218 226
219 } // namespace content 227 } // namespace content
220 228
221 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 229 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/android/content_view_core.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698