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

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

Issue 149213005: Dismiss <select> popup when the user taps the desktop background on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test Created 6 years, 11 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_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index dd96c4df11e3d5946ad2fdd64beb296f43482161..fb27bd5b02e497aefb663be1e714cd0f1e45d837 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -62,6 +62,7 @@ class Display;
namespace ui {
class CompositorLock;
class InputMethod;
+class LocatedEvent;
class Texture;
}
@@ -529,8 +530,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// Detaches |this| from the input method object.
void DetachFromInputMethod();
- // Dismisses a Web Popup on mouse press outside the popup and its parent.
- void ApplyEventFilterForPopupExit(ui::MouseEvent* event);
+ // Dismisses a Web Popup on a mouse or touch press outside the popup and its
+ // parent.
+ void ApplyEventFilterForPopupExit(ui::LocatedEvent* event);
// Converts |rect| from window coordinate to screen coordinate.
gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const;

Powered by Google App Engine
This is Rietveld 408576698