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

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

Issue 8976012: chromeos: Implement power button animations for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update copyright year to 2012 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 | « chrome/chrome_browser.gypi ('k') | ui/aura/root_window_observer.h » ('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) 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"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Overridden from Window: 138 // Overridden from Window:
139 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; 139 virtual void SetTransform(const ui::Transform& transform) OVERRIDE;
140 140
141 #if !defined(NDEBUG) 141 #if !defined(NDEBUG)
142 // Toggles the host's full screen state. 142 // Toggles the host's full screen state.
143 void ToggleFullScreen(); 143 void ToggleFullScreen();
144 #endif 144 #endif
145 145
146 // Overridden from ui::CompositorDelegate: 146 // Overridden from ui::CompositorDelegate:
147 virtual void ScheduleDraw(); 147 virtual void ScheduleDraw() OVERRIDE;
148 148
149 private: 149 private:
150 RootWindow(); 150 RootWindow();
151 virtual ~RootWindow(); 151 virtual ~RootWindow();
152 152
153 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, 153 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|,
154 // sending exited and entered events as its value changes. 154 // sending exited and entered events as its value changes.
155 void HandleMouseMoved(const MouseEvent& event, Window* target); 155 void HandleMouseMoved(const MouseEvent& event, Window* target);
156 156
157 bool ProcessMouseEvent(Window* target, MouseEvent* event); 157 bool ProcessMouseEvent(Window* target, MouseEvent* event);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 Window* mouse_moved_handler_; 219 Window* mouse_moved_handler_;
220 Window* focused_window_; 220 Window* focused_window_;
221 Window* touch_event_handler_; 221 Window* touch_event_handler_;
222 222
223 DISALLOW_COPY_AND_ASSIGN(RootWindow); 223 DISALLOW_COPY_AND_ASSIGN(RootWindow);
224 }; 224 };
225 225
226 } // namespace aura 226 } // namespace aura
227 227
228 #endif // UI_AURA_ROOT_WINDOW_H_ 228 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/aura/root_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698