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

Unified Diff: chrome/browser/ui/views/hung_renderer_view.cc

Issue 1050353002: [MacViews] Remove stray/unguarded uses of ui/aura/window.h in cross-platform files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull out orthogonal stuff Created 5 years, 9 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/hung_renderer_view.cc
diff --git a/chrome/browser/ui/views/hung_renderer_view.cc b/chrome/browser/ui/views/hung_renderer_view.cc
index 5d2503c9bd33a081035fbe228e8d2a0cb34ca187..6645a245725c6ff45ae43c051f7f7254bb19afa1 100644
--- a/chrome/browser/ui/views/hung_renderer_view.cc
+++ b/chrome/browser/ui/views/hung_renderer_view.cc
@@ -23,7 +23,6 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/result_codes.h"
#include "grit/theme_resources.h"
-#include "ui/aura/window.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/canvas.h"
@@ -43,6 +42,10 @@
#include "ui/views/win/hwnd_util.h"
#endif
+#if defined(USE_AURA)
+#include "ui/aura/window.h"
+#endif
+
using content::WebContents;
HungRendererDialogView* HungRendererDialogView::g_instance_ = NULL;
« no previous file with comments | « no previous file | chrome/browser/ui/views/panels/panel_view.cc » ('j') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698