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

Side by Side Diff: ash/wm/window_frame.h

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/toplevel_window_event_filter_unittest.cc ('k') | ash/wm/window_frame.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_SHELL_WINDOW_FRAME_H_ 5 #ifndef ASH_WM_WINDOW_FRAME_H_
6 #define UI_AURA_SHELL_WINDOW_FRAME_H_ 6 #define ASH_WM_WINDOW_FRAME_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura_shell/aura_shell_export.h" 9 #include "ui/aura_shell/aura_shell_export.h"
10 10
11 namespace aura_shell { 11 namespace aura_shell {
12 12
13 // aura::Window property name for a pointer to the WindowFrame interface. 13 // aura::Window property name for a pointer to the WindowFrame interface.
14 AURA_SHELL_EXPORT extern const char* const kWindowFrameKey; 14 AURA_SHELL_EXPORT extern const char* const kWindowFrameKey;
15 15
16 // Interface for clients implementing a window frame. Implementors should 16 // Interface for clients implementing a window frame. Implementors should
17 // add a pointer to this interface to each aura::Window, using the key above. 17 // add a pointer to this interface to each aura::Window, using the key above.
18 class AURA_SHELL_EXPORT WindowFrame { 18 class AURA_SHELL_EXPORT WindowFrame {
19 public: 19 public:
20 virtual ~WindowFrame() {} 20 virtual ~WindowFrame() {}
21 21
22 // Called when the mouse enters or exits a top-level window. 22 // Called when the mouse enters or exits a top-level window.
23 virtual void OnWindowHoverChanged(bool hovered) = 0; 23 virtual void OnWindowHoverChanged(bool hovered) = 0;
24 }; 24 };
25 25
26 } // namespace aura_shell 26 } // namespace aura_shell
27 27
28 #endif // UI_AURA_SHELL_WINDOW_FRAME_H_ 28 #endif // ASH_WM_WINDOW_FRAME_H_
OLDNEW
« no previous file with comments | « ash/wm/toplevel_window_event_filter_unittest.cc ('k') | ash/wm/window_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698