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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index b52f37e6084ed697a585595a52257e5c00470369..283410e58a88382045aebbf2c3a5dea9a2e5af33 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -162,9 +162,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
override;
void LockCompositingSurface() override;
void UnlockCompositingSurface() override;
- void OnTextSurroundingSelectionResponse(const base::string16& content,
- size_t start_offset,
- size_t end_offset) override;
void OnDidNavigateMainFrameToNewPage() override;
// cc::SurfaceFactoryClient implementation.
@@ -250,12 +247,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void SetOverlayVideoMode(bool enabled);
- typedef base::Callback<
- void(const base::string16& content, int start_offset, int end_offset)>
- TextSurroundingSelectionCallback;
- void SetTextSurroundingSelectionCallback(
- const TextSurroundingSelectionCallback& callback);
-
static void OnContextLost();
private:
@@ -395,8 +386,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
std::unique_ptr<LastFrameInfo> last_frame_info_;
- TextSurroundingSelectionCallback text_surrounding_selection_callback_;
-
// The last scroll offset of the view.
gfx::Vector2dF last_scroll_offset_;

Powered by Google App Engine
This is Rietveld 408576698