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

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: merge again Created 4 years, 7 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/common/wm_types.h ('k') | ash/wm/common/wm_window_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_window.h
diff --git a/ash/wm/common/wm_window.h b/ash/wm/common/wm_window.h
index cd94434e3cdc2c323290cf6c5e6b2689ccc3972f..0e7a5c377f09d9d3fd77fd2027ecb4797c0d20f1 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());
« no previous file with comments | « ash/wm/common/wm_types.h ('k') | ash/wm/common/wm_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698