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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 7604032: Showing Task manager on the foreground window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index f2a682ddb6412dece7b42e69ceaf0f980f978b72..57a74b439f3fed3a00dcd9b5eb6917cfa7a4ee81 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1135,8 +1135,8 @@ void BrowserView::ConfirmBrowserCloseWithPendingDownloads() {
browser::CreateViewsWindow(GetNativeHandle(), view)->Show();
}
-void BrowserView::ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
- gfx::NativeWindow parent_window) {
+gfx::NativeWindow BrowserView::ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
+ gfx::NativeWindow parent_window) {
// Default to using our window as the parent if the argument is not specified.
gfx::NativeWindow parent = parent_window ? parent_window
: GetNativeHandle();
@@ -1144,7 +1144,7 @@ void BrowserView::ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
parent = GetNormalBrowserWindowForBrowser(browser(), NULL);
#endif // defined(OS_CHROMEOS)
- browser::ShowHtmlDialog(parent, browser_.get()->profile(), delegate);
+ return browser::ShowHtmlDialog(parent, browser_.get()->profile(), delegate);
}
void BrowserView::ShowCreateWebAppShortcutsDialog(

Powered by Google App Engine
This is Rietveld 408576698