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

Unified Diff: ash/wm/common/wm_types.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_snap_to_pixel_layout_manager.h ('k') | ash/wm/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_types.h
diff --git a/ash/wm/common/wm_types.h b/ash/wm/common/wm_types.h
index 8ad694e17d536a724a56b3fe3ec60a07df6282c6..9dd1cd261841a92556bf77bc88948226a0e994bc 100644
--- a/ash/wm/common/wm_types.h
+++ b/ash/wm/common/wm_types.h
@@ -5,10 +5,9 @@
#ifndef ASH_WM_COMMON_WM_TYPES_H_
#define ASH_WM_COMMON_WM_TYPES_H_
-#include "ash/ash_export.h"
+#include "ash/wm/common/ash_wm_common_export.h"
#include "ui/base/ui_base_types.h"
-// TODO(sky): move to common.
namespace ash {
namespace wm {
@@ -47,12 +46,15 @@ enum WindowStateType {
// Utility functions to convert WindowStateType <-> ui::WindowShowState.
// Note: LEFT/RIGHT MAXIMIZED, AUTO_POSITIONED type will be lost when
// converting to ui::WindowShowState.
-ASH_EXPORT WindowStateType ToWindowStateType(ui::WindowShowState state);
-ASH_EXPORT ui::WindowShowState ToWindowShowState(WindowStateType type);
+ASH_WM_COMMON_EXPORT WindowStateType
+ToWindowStateType(ui::WindowShowState state);
+ASH_WM_COMMON_EXPORT ui::WindowShowState ToWindowShowState(
+ WindowStateType type);
// Returns true if |type| is WINDOW_STATE_TYPE_MAXIMIZED or
// WINDOW_STATE_TYPE_FULLSCREEN.
-ASH_EXPORT bool IsMaximizedOrFullscreenWindowStateType(WindowStateType type);
+ASH_WM_COMMON_EXPORT bool IsMaximizedOrFullscreenWindowStateType(
+ WindowStateType type);
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/wm/common/wm_snap_to_pixel_layout_manager.h ('k') | ash/wm/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698