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

Unified Diff: aura/root_window.h

Issue 7791030: Proper MouseEvent targeting. Adds a Window method that locates a Window for a given point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « aura/event.cc ('k') | aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/root_window.h
===================================================================
--- aura/root_window.h (revision 0)
+++ aura/root_window.h (revision 0)
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef AURA_ROOT_WINDOW_H_
+#define AURA_ROOT_WINDOW_H_
+#pragma once
+
+#include "aura/window.h"
+
+namespace aura {
+namespace internal {
+
+class RootWindow : public Window {
sky 2011/08/30 18:26:30 nit: add a description?
+ public:
+ RootWindow();
+ virtual ~RootWindow();
+
+ // Handles a mouse event. Returns true if handled.
+ bool HandleMouseEvent(const MouseEvent& event);
+
+ private:
+ Window* mouse_pressed_handler_;
+
+ DISALLOW_COPY_AND_ASSIGN(RootWindow);
+};
+
+} // namespace internal
+} // namespace aura
+
+#endif // AURA_ROOT_WINDOW_H_
Property changes on: aura\root_window.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « aura/event.cc ('k') | aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698