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

Side by Side 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, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « aura/event.cc ('k') | aura/root_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef AURA_ROOT_WINDOW_H_
6 #define AURA_ROOT_WINDOW_H_
7 #pragma once
8
9 #include "aura/window.h"
10
11 namespace aura {
12 namespace internal {
13
14 class RootWindow : public Window {
sky 2011/08/30 18:26:30 nit: add a description?
15 public:
16 RootWindow();
17 virtual ~RootWindow();
18
19 // Handles a mouse event. Returns true if handled.
20 bool HandleMouseEvent(const MouseEvent& event);
21
22 private:
23 Window* mouse_pressed_handler_;
24
25 DISALLOW_COPY_AND_ASSIGN(RootWindow);
26 };
27
28 } // namespace internal
29 } // namespace aura
30
31 #endif // AURA_ROOT_WINDOW_H_
OLDNEW
« 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