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

Side by Side Diff: chrome/browser/views/frame/browser_view.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/clear_browsing_data.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/frame/browser_view.h" 5 #include "chrome/browser/views/frame/browser_view.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 860
861 void BrowserView::ShowReportBugDialog() { 861 void BrowserView::ShowReportBugDialog() {
862 // Retrieve the URL for the current tab (if any) and tell the BugReportView 862 // Retrieve the URL for the current tab (if any) and tell the BugReportView
863 TabContents* current_tab = browser_->GetSelectedTabContents(); 863 TabContents* current_tab = browser_->GetSelectedTabContents();
864 if (!current_tab) 864 if (!current_tab)
865 return; 865 return;
866 browser::ShowBugReportView(GetWidget(), browser_->profile(), current_tab); 866 browser::ShowBugReportView(GetWidget(), browser_->profile(), current_tab);
867 } 867 }
868 868
869 void BrowserView::ShowClearBrowsingDataDialog() { 869 void BrowserView::ShowClearBrowsingDataDialog() {
870 browser::ShowClearBrowsingDataView(GetWidget(), browser_->profile()); 870 browser::ShowClearBrowsingDataView(GetWindow()->GetNativeWindow(),
871 browser_->profile());
871 } 872 }
872 873
873 void BrowserView::ShowImportDialog() { 874 void BrowserView::ShowImportDialog() {
874 browser::ShowImporterView(GetWidget(), browser_->profile()); 875 browser::ShowImporterView(GetWidget(), browser_->profile());
875 } 876 }
876 877
877 void BrowserView::ShowSearchEnginesDialog() { 878 void BrowserView::ShowSearchEnginesDialog() {
878 browser::ShowKeywordEditorView(browser_->profile()); 879 browser::ShowKeywordEditorView(browser_->profile());
879 } 880 }
880 881
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1801 1802
1802 // static 1803 // static
1803 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { 1804 FindBar* BrowserWindow::CreateFindBar(Browser* browser) {
1804 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); 1805 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window()));
1805 } 1806 }
1806 1807
1807 // static 1808 // static
1808 void BrowserList::AllBrowsersClosed() { 1809 void BrowserList::AllBrowsersClosed() {
1809 views::Window::CloseAllSecondaryWindows(); 1810 views::Window::CloseAllSecondaryWindows();
1810 } 1811 }
OLDNEW
« no previous file with comments | « chrome/browser/views/clear_browsing_data.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698