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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.cc

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. 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
Index: chrome/browser/ui/views/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index 0936c950b822d668c0176214c5b88ee13783d71e..a791d1cd888eb0452f1a280f8ff1e3168f7add6e 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -38,8 +38,8 @@
#if defined(OS_WIN)
#include "base/win/win_util.h"
#include "base/win/windows_version.h"
-#include "ui/base/win/hwnd_util.h"
#include "ui/gfx/icon_util.h"
+#include "ui/gfx/win/hwnd_util.h"
#endif
// static
@@ -340,7 +340,7 @@ void InfoBarView::PlatformSpecificHide(bool animate) {
// Do not restore focus (and active state with it) if some other top-level
// window became active.
views::Widget* widget = GetWidget();
- if (!widget || ui::DoesWindowBelongToActiveWindow(widget->GetNativeView()))
+ if (!widget || gfx::DoesWindowBelongToActiveWindow(widget->GetNativeView()))
FocusLastFocusedExternalView();
#endif
}
« no previous file with comments | « chrome/browser/ui/views/frame/minimize_button_metrics_win.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698