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

Unified Diff: ui/aura/window.h

Issue 10823015: Make Window::ContainsPoint and Window::ContainsPointInRoot const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 535cd49af3116a017eaf99e9e02705a2b86ffdd1..6616b2291ebe41f3ea02e2d3b7ba2243a6eab31f 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -259,11 +259,11 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Returns true if the |point_in_root| in root window's coordinate falls
// within this window's bounds. Returns false if the window is detached
// from root window.
- bool ContainsPointInRoot(const gfx::Point& point_in_root);
+ bool ContainsPointInRoot(const gfx::Point& point_in_root) const;
// Returns true if relative-to-this-Window's-origin |local_point| falls
// within this Window's bounds.
- bool ContainsPoint(const gfx::Point& local_point);
+ bool ContainsPoint(const gfx::Point& local_point) const;
// Returns true if the mouse pointer at relative-to-this-Window's-origin
// |local_point| can trigger an event for this Window.
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698