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

Unified Diff: chrome/browser/ui/panels/panel_browser_view_browsertest.cc

Issue 8463025: Get BrowserTests to compile on windows with aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/panels/panel_browser_view_browsertest.cc
===================================================================
--- chrome/browser/ui/panels/panel_browser_view_browsertest.cc (revision 109708)
+++ chrome/browser/ui/panels/panel_browser_view_browsertest.cc (working copy)
@@ -424,7 +424,7 @@
Panel* panel = CreatePanelWithParams(params);
// Validate basic window properties.
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
HWND native_window = GetNativeWindow(panel);
RECT window_rect;
@@ -448,7 +448,7 @@
// Validate window styles. We want to ensure that the window is created
// with expected styles regardless of its active state.
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
HWND native_window = GetNativeWindow(panel);
LONG styles = ::GetWindowLong(native_window, GWL_STYLE);
@@ -473,7 +473,7 @@
// Validate window styles. We want to ensure that the window is created
// with expected styles regardless of its active state.
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
HWND native_window = GetNativeWindow(panel);
LONG styles = ::GetWindowLong(native_window, GWL_STYLE);

Powered by Google App Engine
This is Rietveld 408576698