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

Unified Diff: chrome/browser/ui/sad_tab_observer.cc

Issue 8741022: Implements Aura:: NativeWidgetPrivate::ReparentNativeView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment in sad_tab_observer 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
« no previous file with comments | « no previous file | ui/views/widget/native_widget_aura.cc » ('j') | ui/views/widget/native_widget_aura.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sad_tab_observer.cc
diff --git a/chrome/browser/ui/sad_tab_observer.cc b/chrome/browser/ui/sad_tab_observer.cc
index 51a788a836090e6c2eef20d886bd99bdc9cc15c6..42694596ce7e26596a3e1b99290f282753c88cce 100644
--- a/chrome/browser/ui/sad_tab_observer.cc
+++ b/chrome/browser/ui/sad_tab_observer.cc
@@ -69,8 +69,9 @@ gfx::NativeView SadTabObserver::AcquireSadTab(base::TerminationStatus status) {
SadTabView::KILLED : SadTabView::CRASHED;
views::Widget::InitParams sad_tab_params(
views::Widget::InitParams::TYPE_CONTROL);
- // It is not possible to create a widget that has no parent, and later
- // re-parent it. TODO(avi): This is a cheat. Can this be made cleaner?
+ // It is not possible to create a native_widget_win that has no parent in
+ // and later re-parent it.
+ // TODO(avi): This is a cheat. Can this be made cleaner?
sad_tab_params.parent_widget =
static_cast<TabContentsViewViews*>(tab_contents()->view());
sad_tab_params.ownership =
« no previous file with comments | « no previous file | ui/views/widget/native_widget_aura.cc » ('j') | ui/views/widget/native_widget_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698