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

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

Issue 8602003: Revert 110637 - Add ShellAcceleratorController that manages global keyboard accelerators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | ui/aura/desktop.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) 2011 The Chromium Authors. All rights reserved. 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 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_DESKTOP_H_ 5 #ifndef UI_AURA_DESKTOP_H_
6 #define UI_AURA_DESKTOP_H_ 6 #define UI_AURA_DESKTOP_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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Sets capture to the specified window. 130 // Sets capture to the specified window.
131 void SetCapture(Window* window); 131 void SetCapture(Window* window);
132 132
133 // If |window| has mouse capture, the current capture window is set to NULL. 133 // If |window| has mouse capture, the current capture window is set to NULL.
134 void ReleaseCapture(Window* window); 134 void ReleaseCapture(Window* window);
135 135
136 // Overridden from Window: 136 // Overridden from Window:
137 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; 137 virtual void SetTransform(const ui::Transform& transform) OVERRIDE;
138 138
139 #if !defined(NDEBUG)
140 // Toggles the host's full screen state.
141 void ToggleFullScreen();
142 #endif
143
144 private: 139 private:
145 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, 140 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|,
146 // sending exited and entered events as its value changes. 141 // sending exited and entered events as its value changes.
147 void HandleMouseMoved(const MouseEvent& event, Window* target); 142 void HandleMouseMoved(const MouseEvent& event, Window* target);
148 143
149 bool ProcessMouseEvent(Window* target, MouseEvent* event); 144 bool ProcessMouseEvent(Window* target, MouseEvent* event);
150 bool ProcessKeyEvent(Window* target, KeyEvent* event); 145 bool ProcessKeyEvent(Window* target, KeyEvent* event);
151 ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event); 146 ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event);
152 147
153 // Overridden from ui::CompositorDelegate 148 // Overridden from ui::CompositorDelegate
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 Window* mouse_moved_handler_; 217 Window* mouse_moved_handler_;
223 Window* focused_window_; 218 Window* focused_window_;
224 Window* touch_event_handler_; 219 Window* touch_event_handler_;
225 220
226 DISALLOW_COPY_AND_ASSIGN(Desktop); 221 DISALLOW_COPY_AND_ASSIGN(Desktop);
227 }; 222 };
228 223
229 } // namespace aura 224 } // namespace aura
230 225
231 #endif // UI_AURA_DESKTOP_H_ 226 #endif // UI_AURA_DESKTOP_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698