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

Unified Diff: ui/gfx/win/hwnd_util.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 3 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/gfx/win/dpi.cc ('k') | ui/gfx/win/window_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/hwnd_util.h
diff --git a/ui/gfx/win/hwnd_util.h b/ui/gfx/win/hwnd_util.h
index 70e5f8f1c2bc24571b45d6fc2771d223d6694924..472daccd82efe24aab4d63c61db4d6e04f2ea022 100644
--- a/ui/gfx/win/hwnd_util.h
+++ b/ui/gfx/win/hwnd_util.h
@@ -16,38 +16,38 @@ class Size;
// A version of the GetClassNameW API that returns the class name in an
// string16. An empty result indicates a failure to get the class name.
-UI_EXPORT string16 GetClassName(HWND hwnd);
+GFX_EXPORT string16 GetClassName(HWND hwnd);
// Useful for subclassing a HWND. Returns the previous window procedure.
-UI_EXPORT WNDPROC SetWindowProc(HWND hwnd, WNDPROC wndproc);
+GFX_EXPORT WNDPROC SetWindowProc(HWND hwnd, WNDPROC wndproc);
// Pointer-friendly wrappers around Get/SetWindowLong(..., GWLP_USERDATA, ...)
// Returns the previously set value.
-UI_EXPORT void* SetWindowUserData(HWND hwnd, void* user_data);
-UI_EXPORT void* GetWindowUserData(HWND hwnd);
+GFX_EXPORT void* SetWindowUserData(HWND hwnd, void* user_data);
+GFX_EXPORT void* GetWindowUserData(HWND hwnd);
// Returns true if the specified window is the current active top window or one
// of its children.
-UI_EXPORT bool DoesWindowBelongToActiveWindow(HWND window);
+GFX_EXPORT bool DoesWindowBelongToActiveWindow(HWND window);
// Sizes the window to have a window size of |pref|, then centers the window
// over |parent|, ensuring the window fits on screen.
-UI_EXPORT void CenterAndSizeWindow(HWND parent,
- HWND window,
- const gfx::Size& pref);
+GFX_EXPORT void CenterAndSizeWindow(HWND parent,
+ HWND window,
+ const gfx::Size& pref);
// If |hwnd| is NULL logs various thing and CHECKs. Invoke right after calling
// CreateWindow.
-UI_EXPORT void CheckWindowCreated(HWND hwnd);
+GFX_EXPORT void CheckWindowCreated(HWND hwnd);
// Shows |window|'s system menu (at a specified |point| in screen coordinates).
-UI_EXPORT void ShowSystemMenu(HWND window);
-UI_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point);
+GFX_EXPORT void ShowSystemMenu(HWND window);
+GFX_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point);
// Returns the window you can use to parent a top level window.
// Note that in some cases we create child windows not parented to its final
// container so in those cases you should pass true in |get_real_hwnd|.
-UI_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd);
+GFX_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd);
} // namespace gfx
« no previous file with comments | « ui/gfx/win/dpi.cc ('k') | ui/gfx/win/window_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698