summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_browsing_data.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 17:04:10 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 17:04:10 +0000
commit7672ea9c4233a8c4380c26a11ba2ca3d6fe64f67 (patch)
tree25342847e37ffde1ed6a29ac01a284d4f062341a /chrome/browser/views/clear_browsing_data.cc
parent21756fe51178ee6c662f9add3e4c34be9e44c83a (diff)
downloadchromium_src-7672ea9c4233a8c4380c26a11ba2ca3d6fe64f67.zip
chromium_src-7672ea9c4233a8c4380c26a11ba2ca3d6fe64f67.tar.gz
chromium_src-7672ea9c4233a8c4380c26a11ba2ca3d6fe64f67.tar.bz2
Hook up "clear browsing data" dialog. It looks like ass right now. The intent is to be able to debug problems with NativeControls under Gtk.
BUG=none TEST=none Review URL: http://codereview.chromium.org/131027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/clear_browsing_data.cc')
-rw-r--r--chrome/browser/views/clear_browsing_data.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/views/clear_browsing_data.cc b/chrome/browser/views/clear_browsing_data.cc
index f6da40f..9b8cf76 100644
--- a/chrome/browser/views/clear_browsing_data.cc
+++ b/chrome/browser/views/clear_browsing_data.cc
@@ -29,11 +29,10 @@ static const int kExtraMarginForTimePeriodLabel = 3;
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