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

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

Issue 2030033003: Replace cc::ViewportSelectionBound with gfx::SelectionBound (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android build compiles locally Created 4 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 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 b52ea5964a02064e39ce00c1e27fc1141009f764..9afe73b8ae745197b5e2e937c415b883d9053819 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -18,6 +18,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/process/process.h"
+#include "cc/input/selection.h"
#include "cc/output/begin_frame_args.h"
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
@@ -35,6 +36,7 @@
#include "ui/events/gesture_detection/filtered_gesture_provider.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/vector2d_f.h"
+#include "ui/gfx/selection_bound.h"
#include "ui/touch_selection/touch_selection_controller.h"
namespace cc {
@@ -355,7 +357,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
gfx::Size current_surface_size_;
cc::ReturnedResourceArray surface_returned_resources_;
gfx::Vector2dF location_bar_content_translation_;
- cc::ViewportSelection current_viewport_selection_;
+ cc::Selection<gfx::SelectionBound> current_viewport_selection_;
// The most recent texture size that was pushed to the texture layer.
gfx::Size texture_size_in_layer_;

Powered by Google App Engine
This is Rietveld 408576698