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

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

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (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/views/dom_view.cc
===================================================================
--- chrome/browser/ui/views/dom_view.cc (revision 110826)
+++ chrome/browser/ui/views/dom_view.cc (working copy)
@@ -9,7 +9,6 @@
#include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "ui/views/focus/focus_manager.h"
-#include "views/widget/native_widget_views.h"
// static
const char DOMView::kViewClassName[] =
@@ -80,17 +79,5 @@
}
void DOMView::AttachTabContents() {
-#if !defined(USE_AURA)
- if (views::Widget::IsPureViews()) {
- TabContentsViewViews* widget = static_cast<TabContentsViewViews*>(
- dom_contents_->tab_contents()->view());
- views::NativeWidgetViews* nwv =
- static_cast<views::NativeWidgetViews*>(widget->native_widget());
- AttachToView(nwv->GetView());
- } else {
-#endif
- Attach(dom_contents_->tab_contents()->GetNativeView());
-#if !defined(USE_AURA)
- }
-#endif
+ Attach(dom_contents_->tab_contents()->GetNativeView());
}
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | chrome/browser/ui/views/frame/browser_frame_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698