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

Unified Diff: ash/common/wm/window_state.cc

Issue 2563343002: Remove extension_misc::IsImeMenuExtensionId. (Closed)
Patch Set: Remove kExcludeFromMruKey. Created 4 years 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/common/wm/window_state.h ('k') | ash/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_state.cc
diff --git a/ash/common/wm/window_state.cc b/ash/common/wm/window_state.cc
index 6d86c7ef9706be415bbcc1fd161e69d15a02be36..638ee72d132c31c737d3e9057e7e495caa016005 100644
--- a/ash/common/wm/window_state.cc
+++ b/ash/common/wm/window_state.cc
@@ -13,7 +13,6 @@
#include "ash/common/wm/wm_event.h"
#include "ash/common/wm/wm_screen_util.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "base/auto_reset.h"
namespace ash {
@@ -111,10 +110,6 @@ bool WindowState::IsUserPositionable() const {
window_->GetType() == ui::wm::WINDOW_TYPE_PANEL);
}
-bool WindowState::ShouldBeExcludedFromMru() const {
- return window_->GetBoolProperty(ash::WmWindowProperty::EXCLUDE_FROM_MRU);
-}
-
bool WindowState::CanMaximize() const {
// Window must allow maximization and have no maximum width or height.
if (!window_->CanMaximize())
@@ -166,10 +161,6 @@ void WindowState::Unminimize() {
window_->Unminimize();
}
-void WindowState::SetExcludedFromMru(bool excluded_from_mru) {
- window_->SetExcludedFromMru(excluded_from_mru);
-}
-
void WindowState::Activate() {
window_->Activate();
}
« no previous file with comments | « ash/common/wm/window_state.h ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698