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

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

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix rebase Created 3 years, 7 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 25c9185b5a1632f3e7494dcc65dace54f6022010..b181687144e7ceb1c3c1b18238d5a6765cfc80b1 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -35,6 +35,7 @@
#include "ui/android/view_android.h"
#include "ui/android/view_client.h"
#include "ui/android/window_android_observer.h"
+#include "ui/base/ui_base_types.h"
#include "ui/events/gesture_detection/filtered_gesture_provider.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/vector2d_f.h"
@@ -210,7 +211,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
// StylusTextSelectorClient implementation.
void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override;
void OnStylusSelectUpdate(float x, float y) override;
- void OnStylusSelectEnd() override {};
+ void OnStylusSelectEnd(float x, float y) override;
void OnStylusSelectTap(base::TimeTicks time, float x, float y) override;
// ui::TouchSelectionControllerClient implementation.
@@ -264,7 +265,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
bool HasValidFrame() const;
void MoveCaret(const gfx::Point& point);
- void ShowContextMenuAtTouchHandle(const gfx::Point& point);
+ void ShowContextMenuAtPoint(const gfx::Point& point, ui::MenuSourceType);
void DismissTextHandles();
void SetTextHandlesTemporarilyHidden(bool hidden);
void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);

Powered by Google App Engine
This is Rietveld 408576698