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

Unified Diff: chrome/browser/platform_util_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
Index: chrome/browser/platform_util_win.cc
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc
index b14602f494ff4d11f3f53515a0c7ad4b355ef8ce..65aee5770565c10467cab6bc8bca600bafb7d91f 100644
--- a/chrome/browser/platform_util_win.cc
+++ b/chrome/browser/platform_util_win.cc
@@ -211,27 +211,4 @@ void OpenExternal(Profile* profile, const GURL& url) {
base::Bind(&OpenExternalOnFileThread, url));
}
-#if !defined(USE_AURA)
-gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
- return ::GetAncestor(view, GA_ROOT);
-}
-
-gfx::NativeView GetParent(gfx::NativeView view) {
- return ::GetParent(view);
-}
-
-bool IsWindowActive(gfx::NativeWindow window) {
- return ::GetForegroundWindow() == window;
-}
-
-void ActivateWindow(gfx::NativeWindow window) {
- ::SetForegroundWindow(window);
-}
-
-bool IsVisible(gfx::NativeView view) {
- // MSVC complains if we don't include != 0.
- return ::IsWindowVisible(view) != 0;
-}
-#endif
-
} // namespace platform_util
« no previous file with comments | « chrome/browser/password_manager/password_manager_util_win.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698