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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 2213503002: Tracking SelectionBounds for all RenderWidgets on the Browser Side (Mac) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index a7da0a994d2ff48872927f6b75db0a2881392b32..b69e0ebc981056f47ab608a4deb714909f54893d 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -288,8 +288,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
int error_code) override;
void Destroy() override;
void SetTooltipText(const base::string16& tooltip_text) override;
- void SelectionBoundsChanged(
- const ViewHostMsg_SelectionBounds_Params& params) override;
void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
const gfx::Size& dst_size,
const ReadbackRequestCallback& callback,
@@ -542,12 +540,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
gfx::Range composition_range_;
std::vector<gfx::Rect> composition_bounds_;
- // The current caret bounds.
- gfx::Rect caret_rect_;
-
- // The current first selection bounds.
- gfx::Rect first_selection_rect_;
-
// Factory used to safely scope delayed calls to ShutdownHost().
base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698