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

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

Issue 25536010: Make packaged apps use AppNonClientFrameViewAsh when maximized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_STATE_OBSERVER_H_ 5 #ifndef ASH_WM_WINDOW_STATE_OBSERVER_H_
6 #define ASH_WM_WINDOW_STATE_OBSERVER_H_ 6 #define ASH_WM_WINDOW_STATE_OBSERVER_H_
7 7
8 #include "ash/ash_export.h"
8 #include "ash/wm/wm_types.h" 9 #include "ash/wm/wm_types.h"
9 10
10 namespace ash { 11 namespace ash {
11 namespace wm { 12 namespace wm {
12 class WindowState; 13 class WindowState;
13 14
14 class ASH_EXPORT WindowStateObserver { 15 class ASH_EXPORT WindowStateObserver {
15 public: 16 public:
16 // Called when the tracked_by_workspace has changed. 17 // Called when the tracked_by_workspace has changed.
17 virtual void OnTrackedByWorkspaceChanged( 18 virtual void OnTrackedByWorkspaceChanged(
18 WindowState* window, 19 WindowState* window,
19 bool old_value) {} 20 bool old_value) {}
20 21
21 // Called when the window's show type has changed. 22 // Called when the window's show type has changed.
22 // This is different from kWindowShowStatekey property change 23 // This is different from kWindowShowStatekey property change
23 // as this will be invoked when the window gets left/right maximized, 24 // as this will be invoked when the window gets left/right maximized,
24 // and auto positioned. 25 // and auto positioned.
25 virtual void OnWindowShowTypeChanged(WindowState* window_state, 26 virtual void OnWindowShowTypeChanged(WindowState* window_state,
26 WindowShowType type) {} 27 WindowShowType type) {}
27 }; 28 };
28 29
29 } // namespace wm 30 } // namespace wm
30 } // namespace ash 31 } // namespace ash
31 32
32 #endif // ASH_WM_WINDOW_STATE_OBSERVER_H_ 33 #endif // ASH_WM_WINDOW_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/wm/caption_buttons/hideable_caption_button_container.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698