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

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

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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
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 ASH_WM_WINDOW_FRAME_H_ 5 #ifndef ASH_WM_WINDOW_FRAME_H_
6 #define ASH_WM_WINDOW_FRAME_H_ 6 #define ASH_WM_WINDOW_FRAME_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 10
11 namespace aura_shell { 11 namespace ash {
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 ASH_EXPORT extern const char* const kWindowFrameKey; 14 ASH_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 ASH_EXPORT WindowFrame { 18 class ASH_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 ash
27 27
28 #endif // ASH_WM_WINDOW_FRAME_H_ 28 #endif // ASH_WM_WINDOW_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698