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

Unified Diff: ash/wm/window_state.h

Issue 169713003: Remove WindowState::IsNormalShowState() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ash/wm/window_positioner.cc ('k') | ash/wm/window_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_state.h
diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h
index 64075dfde2df98abaea29c3cd8f6a87af24d0e6c..21be06644efc53fa6fb26d9b505ecbe6b5d79fd3 100644
--- a/ash/wm/window_state.h
+++ b/ash/wm/window_state.h
@@ -88,20 +88,15 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
bool IsMaximized() const;
bool IsFullscreen() const;
bool IsMaximizedOrFullscreen() const;
-
- // DEPRECATED. TODO(pkotwicz): Remove (crbug.com/326392)
- // True if the window's show state is SHOW_STATE_NORMAL or
- // SHOW_STATE_DEFAULT.
- bool IsNormalShowState() const;
+ bool IsSnapped() const;
// True if the window's show type is SHOW_TYPE_NORMAL or SHOW_TYPE_DEFAULT.
- // Unlike IsNormalShowState(), returns false if the window's show type is
- // SHOW_TYPE_LEFT_SNAPPED or SHOW_TYPE_RIGHT_SNAPPED.
bool IsNormalShowType() const;
+ bool IsNormalOrSnapped() const;
+
bool IsActive() const;
bool IsDocked() const;
- bool IsSnapped() const;
// Checks if the window can change its state accordingly.
bool CanMaximize() const;
« no previous file with comments | « ash/wm/window_positioner.cc ('k') | ash/wm/window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698