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

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

Issue 1351363002: Fix the typo "visibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
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_H_ 5 #ifndef ASH_WM_WINDOW_STATE_H_
6 #define ASH_WM_WINDOW_STATE_H_ 6 #define ASH_WM_WINDOW_STATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/drag_details.h" 9 #include "ash/wm/drag_details.h"
10 #include "ash/wm/wm_types.h" 10 #include "ash/wm/wm_types.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // Gets/sets whether the shelf should be hidden when this window is 191 // Gets/sets whether the shelf should be hidden when this window is
192 // fullscreen. 192 // fullscreen.
193 bool hide_shelf_when_fullscreen() const { 193 bool hide_shelf_when_fullscreen() const {
194 return hide_shelf_when_fullscreen_; 194 return hide_shelf_when_fullscreen_;
195 } 195 }
196 196
197 void set_hide_shelf_when_fullscreen(bool value) { 197 void set_hide_shelf_when_fullscreen(bool value) {
198 hide_shelf_when_fullscreen_ = value; 198 hide_shelf_when_fullscreen_ = value;
199 } 199 }
200 200
201 // If the minimum visibilty is true, ash will try to keep a 201 // If the minimum visibility is true, ash will try to keep a
202 // minimum amount of the window is always visible on the work area 202 // minimum amount of the window is always visible on the work area
203 // when shown. 203 // when shown.
204 // TODO(oshima): Consolidate this and window_position_managed 204 // TODO(oshima): Consolidate this and window_position_managed
205 // into single parameter to control the window placement. 205 // into single parameter to control the window placement.
206 bool minimum_visibility() const { 206 bool minimum_visibility() const {
207 return minimum_visibility_; 207 return minimum_visibility_;
208 } 208 }
209 void set_minimum_visibility(bool minimum_visibility) { 209 void set_minimum_visibility(bool minimum_visibility) {
210 minimum_visibility_ = minimum_visibility; 210 minimum_visibility_ = minimum_visibility;
211 } 211 }
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 ASH_EXPORT WindowState* GetWindowState(aura::Window* window); 404 ASH_EXPORT WindowState* GetWindowState(aura::Window* window);
405 405
406 // const version of GetWindowState. 406 // const version of GetWindowState.
407 ASH_EXPORT const WindowState* 407 ASH_EXPORT const WindowState*
408 GetWindowState(const aura::Window* window); 408 GetWindowState(const aura::Window* window);
409 409
410 } // namespace wm 410 } // namespace wm
411 } // namespace ash 411 } // namespace ash
412 412
413 #endif // ASH_WM_WINDOW_STATE_H_ 413 #endif // ASH_WM_WINDOW_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698