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

Side by Side Diff: ash/shelf/shelf_layout_manager.h

Issue 1151133003: Added an ActivationReason parameter to ActivationChangeObserver::OnWindowActivated(...). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Uploaded diff based on dependant CL. Created 5 years, 6 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
« no previous file with comments | « ash/display/display_controller_unittest.cc ('k') | ash/shelf/shelf_layout_manager.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 // Overridden from SnapLayoutManager: 170 // Overridden from SnapLayoutManager:
171 void OnWindowResized() override; 171 void OnWindowResized() override;
172 void SetChildBounds(aura::Window* child, 172 void SetChildBounds(aura::Window* child,
173 const gfx::Rect& requested_bounds) override; 173 const gfx::Rect& requested_bounds) override;
174 174
175 // Overridden from ash::ShellObserver: 175 // Overridden from ash::ShellObserver:
176 void OnLockStateChanged(bool locked) override; 176 void OnLockStateChanged(bool locked) override;
177 177
178 // Overriden from aura::client::ActivationChangeObserver: 178 // Overriden from aura::client::ActivationChangeObserver:
179 void OnWindowActivated(aura::Window* gained_active, 179 void OnWindowActivated(
180 aura::Window* lost_active) override; 180 aura::client::ActivationChangeObserver::ActivationReason reason,
181 aura::Window* gained_active,
182 aura::Window* lost_active) override;
181 183
182 // Overridden from ash::LockStateObserver: 184 // Overridden from ash::LockStateObserver:
183 void OnLockStateEvent(LockStateObserver::EventType event) override; 185 void OnLockStateEvent(LockStateObserver::EventType event) override;
184 186
185 // Overridden from ash::SessionStateObserver: 187 // Overridden from ash::SessionStateObserver:
186 void SessionStateChanged(SessionStateDelegate::SessionState state) override; 188 void SessionStateChanged(SessionStateDelegate::SessionState state) override;
187 189
188 // TODO(harrym|oshima): These templates will be moved to 190 // TODO(harrym|oshima): These templates will be moved to
189 // new Shelf class. 191 // new Shelf class.
190 // A helper function that provides a shortcut for choosing 192 // A helper function that provides a shortcut for choosing
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 414
413 // The show hide animation duration override or 0 for default. 415 // The show hide animation duration override or 0 for default.
414 int duration_override_in_ms_; 416 int duration_override_in_ms_;
415 417
416 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); 418 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
417 }; 419 };
418 420
419 } // namespace ash 421 } // namespace ash
420 422
421 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 423 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/display/display_controller_unittest.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698