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

Side by Side Diff: ui/aura/root_window.h

Issue 9181012: Don't activate a window if screen is locked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ui/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')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, 152 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|,
153 // sending exited and entered events as its value changes. 153 // sending exited and entered events as its value changes.
154 void HandleMouseMoved(const MouseEvent& event, Window* target); 154 void HandleMouseMoved(const MouseEvent& event, Window* target);
155 155
156 bool ProcessMouseEvent(Window* target, MouseEvent* event); 156 bool ProcessMouseEvent(Window* target, MouseEvent* event);
157 bool ProcessKeyEvent(Window* target, KeyEvent* event); 157 bool ProcessKeyEvent(Window* target, KeyEvent* event);
158 ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event); 158 ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event);
159 159
160 // Overridden from Window: 160 // Overridden from Window:
161 virtual bool CanFocus() const OVERRIDE; 161 virtual bool CanFocus() const OVERRIDE;
162 virtual bool CanReceiveEvents() const OVERRIDE;
162 virtual internal::FocusManager* GetFocusManager() OVERRIDE; 163 virtual internal::FocusManager* GetFocusManager() OVERRIDE;
163 virtual RootWindow* GetRootWindow() OVERRIDE; 164 virtual RootWindow* GetRootWindow() OVERRIDE;
164 virtual void WindowDetachedFromRootWindow(Window* window) OVERRIDE; 165 virtual void WindowDetachedFromRootWindow(Window* window) OVERRIDE;
165 166
166 // Overridden from ui::LayerAnimationObserver: 167 // Overridden from ui::LayerAnimationObserver:
167 virtual void OnLayerAnimationEnded( 168 virtual void OnLayerAnimationEnded(
168 const ui::LayerAnimationSequence* animation) OVERRIDE; 169 const ui::LayerAnimationSequence* animation) OVERRIDE;
169 virtual void OnLayerAnimationScheduled( 170 virtual void OnLayerAnimationScheduled(
170 const ui::LayerAnimationSequence* animation) OVERRIDE; 171 const ui::LayerAnimationSequence* animation) OVERRIDE;
171 virtual void OnLayerAnimationAborted( 172 virtual void OnLayerAnimationAborted(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 Window* mouse_moved_handler_; 219 Window* mouse_moved_handler_;
219 Window* focused_window_; 220 Window* focused_window_;
220 Window* touch_event_handler_; 221 Window* touch_event_handler_;
221 222
222 DISALLOW_COPY_AND_ASSIGN(RootWindow); 223 DISALLOW_COPY_AND_ASSIGN(RootWindow);
223 }; 224 };
224 225
225 } // namespace aura 226 } // namespace aura
226 227
227 #endif // UI_AURA_ROOT_WINDOW_H_ 228 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698