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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 10831361: Draggable region support for frameless app window on CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ShouldDescendIntoChildForEventHandling Created 8 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/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index ac67fdf87cb5998c50e8e15c7eab39caee9347f1..d3d5d503162671485fc14e5b82a1939cebfa8339 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -510,7 +510,8 @@ int WebContentsViewAura::GetNonClientComponent(const gfx::Point& point) const {
bool WebContentsViewAura::ShouldDescendIntoChildForEventHandling(
aura::Window* child,
- const gfx::Point& location) {
+ const gfx::Point& event_location,
+ ui::EventType event_type) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698