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

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

Issue 2200963002: ShelfLayoutManager virtual keyboard - do not change work area of screen if in non-sticky mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/shelf/shelf_layout_manager.cc » ('J')
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 <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 wm::WorkspaceWindowState window_state; 232 wm::WorkspaceWindowState window_state;
233 bool is_screen_locked; 233 bool is_screen_locked;
234 bool is_adding_user_screen; 234 bool is_adding_user_screen;
235 }; 235 };
236 236
237 // Sets the visibility of the shelf to |state|. 237 // Sets the visibility of the shelf to |state|.
238 void SetState(ShelfVisibilityState visibility_state); 238 void SetState(ShelfVisibilityState visibility_state);
239 239
240 // Updates the bounds and opacity of the shelf and status widgets. 240 // Updates the bounds and opacity of the shelf and status widgets.
241 // If |observer| is specified, it will be called back when the animations, if 241 // If |observer| is specified, it will be called back when the animations, if
242 // any, are complete. 242 // any, are complete.
oshima 2016/08/02 16:33:53 update the comment and explain how |change_work_ar
hariank 2016/08/03 18:09:39 Done.
243 void UpdateBoundsAndOpacity(const TargetBounds& target_bounds, 243 void UpdateBoundsAndOpacity(const TargetBounds& target_bounds,
244 bool animate, 244 bool animate,
245 bool change_work_area,
245 ui::ImplicitAnimationObserver* observer); 246 ui::ImplicitAnimationObserver* observer);
246 247
247 // Stops any animations and progresses them to the end. 248 // Stops any animations and progresses them to the end.
248 void StopAnimating(); 249 void StopAnimating();
249 250
250 // Calculates the target bounds assuming visibility of |visible|. 251 // Calculates the target bounds assuming visibility of |visible|.
251 void CalculateTargetBounds(const State& state, TargetBounds* target_bounds); 252 void CalculateTargetBounds(const State& state, TargetBounds* target_bounds);
252 253
253 // Updates the target bounds if a gesture-drag is in progress. This is only 254 // Updates the target bounds if a gesture-drag is in progress. This is only
254 // used by |CalculateTargetBounds()|. 255 // used by |CalculateTargetBounds()|.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 374
374 std::unique_ptr<RootWindowControllerObserverImpl> 375 std::unique_ptr<RootWindowControllerObserverImpl>
375 root_window_controller_observer_; 376 root_window_controller_observer_;
376 377
377 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); 378 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
378 }; 379 };
379 380
380 } // namespace ash 381 } // namespace ash
381 382
382 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 383 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/shelf/shelf_layout_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698