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

Unified 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: ShelfLayoutManager virtual keyboard - do not change work area of screen if in non-sticky mode. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 934a08db2652e2c2ad4d44f5435e3a1fea33a0d0..3b55dc03e184a5cf05b9e6be9200b8d673fe141c 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -85,6 +85,10 @@ class ASH_EXPORT ShelfLayoutManager
}
// Stops any animations and sets the bounds of the shelf and status widgets.
+ void LayoutShelfAndUpdateBounds(bool change_work_area);
+
+ // Stops any animations, sets the bounds of the shelf and status widgets, and
+ // changes the work area
void LayoutShelf();
// Returns shelf visibility state based on current value of auto hide
@@ -235,9 +239,11 @@ class ASH_EXPORT ShelfLayoutManager
// Updates the bounds and opacity of the shelf and status widgets.
// If |observer| is specified, it will be called back when the animations, if
- // any, are complete.
+ // any, are complete. |change_work_area| specifies whether or not to update
+ // the work area of the screen.
void UpdateBoundsAndOpacity(const TargetBounds& target_bounds,
bool animate,
+ bool change_work_area,
ui::ImplicitAnimationObserver* observer);
// Stops any animations and progresses them to the end.
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698