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

Unified Diff: chrome/browser/views/clear_browsing_data.cc

Issue 131027: Hook up "clear browsing data" dialog. It looks like ass right now. The intent... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 6 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
« no previous file with comments | « chrome/browser/views/clear_browsing_data.h ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/clear_browsing_data.cc
===================================================================
--- chrome/browser/views/clear_browsing_data.cc (revision 18685)
+++ chrome/browser/views/clear_browsing_data.cc (working copy)
@@ -29,11 +29,10 @@
namespace browser {
// Defined in browser_dialogs.h for creation of the view.
-void ShowClearBrowsingDataView(views::Widget* parent,
+void ShowClearBrowsingDataView(gfx::NativeWindow parent,
Profile* profile) {
- views::Window::CreateChromeWindow(
- parent->GetNativeView(), gfx::Rect(),
- new ClearBrowsingDataView(profile))->Show();
+ views::Window::CreateChromeWindow(parent, gfx::Rect(),
+ new ClearBrowsingDataView(profile))->Show();
}
} // namespace browser
« no previous file with comments | « chrome/browser/views/clear_browsing_data.h ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698