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

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

Issue 7834048: Preliminary work to allow Chrome to build with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/collected_cookies_win.cc
===================================================================
--- chrome/browser/ui/views/collected_cookies_win.cc (revision 99764)
+++ chrome/browser/ui/views/collected_cookies_win.cc (working copy)
@@ -492,6 +492,10 @@
setting);
infobar_->UpdateVisibility(true, setting, origin_node->GetTitle());
gfx::Rect bounds = GetWidget()->GetClientAreaScreenBounds();
+#if defined(USE_AURA)
+ // TODO(beng): convert the conversion to use views conversion methods.
+ NOTIMPLEMENTED();
+#else
// NativeWidgetWin::GetBounds returns the bounds relative to the parent
// window, while NativeWidgetWin::SetBounds wants screen coordinates. Do the
// translation here until http://crbug.com/52851 is fixed.
@@ -500,6 +504,7 @@
gfx::Size size = GetWidget()->GetRootView()->GetPreferredSize();
bounds.SetRect(topleft.x, topleft.y, size.width(), size.height());
GetWidget()->SetBounds(bounds);
+#endif
status_changed_ = true;
}
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble.cc ('k') | chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698