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

Unified Diff: ash/mus/window_manager.cc

Issue 2715243012: Renames kWindowIgnoredByShelf_Property to ..._InitProperty (Closed)
Patch Set: init Created 3 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/mus/top_level_window_factory.cc ('k') | chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index 5602244c38c18e0e2377959bb10d2e5ff42b8c0d..e80e7c883f8197fd686aaee9d9a35d37203032df 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -320,13 +320,6 @@ bool WindowManager::OnWmSetProperty(
aura::Window* window,
const std::string& name,
std::unique_ptr<std::vector<uint8_t>>* new_data) {
- // TODO(sky): constrain this to set of keys we know about, and allowed values.
- if (name == ui::mojom::WindowManager::kWindowIgnoredByShelf_Property) {
- wm::WindowState* window_state = WmWindow::Get(window)->GetWindowState();
- window_state->set_ignored_by_shelf(
- new_data ? mojo::ConvertTo<bool>(**new_data) : false);
- return false; // Won't attempt to map through property converter.
- }
if (property_converter_->IsTransportNameRegistered(name))
return true;
DVLOG(1) << "unknown property changed, ignoring " << name;
« no previous file with comments | « ash/mus/top_level_window_factory.cc ('k') | chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698