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

Unified Diff: ui/aura/mus/mus_util.cc

Issue 2715983002: aura-mus: Remove dead code. (Closed)
Patch Set: 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 | « ui/aura/mus/mus_util.h ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/mus_util.cc
diff --git a/ui/aura/mus/mus_util.cc b/ui/aura/mus/mus_util.cc
deleted file mode 100644
index f32e881ae6bdfd7e91fbf9725ce0d1740b0bece6..0000000000000000000000000000000000000000
--- a/ui/aura/mus/mus_util.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/aura/mus/mus_util.h"
-
-#include "ui/aura/window.h"
-#include "ui/base/class_property.h"
-
-namespace aura {
-namespace {
-
-// This code uses Set/GetNativeWindowProperty instead of Set/GetProperty to
-// avoid a dependency on mus.
-const char kMusWindowKey[] = "mus";
-
-} // namespace
-
-ui::Window* GetMusWindow(Window* window) {
- if (!window)
- return nullptr;
- return static_cast<ui::Window*>(
- window->GetNativeWindowProperty(kMusWindowKey));
-}
-
-void SetMusWindow(Window* window, ui::Window* mus_window) {
- window->SetNativeWindowProperty(kMusWindowKey, mus_window);
-}
-
-} // namespace aura
« no previous file with comments | « ui/aura/mus/mus_util.h ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698