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

Side by Side Diff: ui/aura_shell/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 | « ui/aura_shell/toplevel_window_event_filter_unittest.cc ('k') | ui/aura_shell/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_SHELL_WINDOW_FRAME_H_
6 #define UI_AURA_SHELL_WINDOW_FRAME_H_
7 #pragma once
8
9 #include "ui/aura_shell/aura_shell_export.h"
10
11 namespace aura_shell {
12
13 // aura::Window property name for a pointer to the WindowFrame interface.
14 AURA_SHELL_EXPORT extern const char* const kWindowFrameKey;
15
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.
18 class AURA_SHELL_EXPORT WindowFrame {
19 public:
20 virtual ~WindowFrame() {}
21
22 // Called when the mouse enters or exits a top-level window.
23 virtual void OnWindowHoverChanged(bool hovered) = 0;
24 };
25
26 } // namespace aura_shell
27
28 #endif // UI_AURA_SHELL_WINDOW_FRAME_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/toplevel_window_event_filter_unittest.cc ('k') | ui/aura_shell/window_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698