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

Unified Diff: ash/wm/common/wm_window.h

Issue 1943603002: Makes ash/wm/common a library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp Created 4 years, 8 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
Index: ash/wm/common/wm_window.h
diff --git a/ash/wm/common/wm_window.h b/ash/wm/common/wm_window.h
index 6d6fadc8c7974cf7a4bd03d8a3e9c8e31b8614b3..f69ef8f8b7484cbe26acceeeede520acbbd3ea65 100644
--- a/ash/wm/common/wm_window.h
+++ b/ash/wm/common/wm_window.h
@@ -8,7 +8,7 @@
#include <memory>
#include <vector>
-#include "ash/ash_export.h"
+#include "ash/wm/common/ash_wm_common_export.h"
#include "base/time/time.h"
#include "ui/base/ui_base_types.h"
#include "ui/wm/core/window_animations.h"
@@ -29,10 +29,6 @@ namespace ui {
class Layer;
}
-namespace views {
-class Widget;
-}
-
namespace ash {
namespace wm {
@@ -47,10 +43,8 @@ class WindowState;
// This class exists as a porting layer to allow ash/wm to work with
// aura::Window
// or mus::Window. See aura::Window for details on the functions.
-class ASH_EXPORT WmWindow {
+class ASH_WM_COMMON_EXPORT WmWindow {
public:
- static WmWindow* Get(views::Widget* widget);
-
WmWindow* GetRootWindow() {
return const_cast<WmWindow*>(
const_cast<const WmWindow*>(this)->GetRootWindow());

Powered by Google App Engine
This is Rietveld 408576698