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

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

Issue 10214001: WebDialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/ui/browser.h ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 133969)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -1460,18 +1460,18 @@
CloseContents(contents);
}
-gfx::NativeWindow Browser::BrowserShowHtmlDialog(
- HtmlDialogUIDelegate* delegate,
+gfx::NativeWindow Browser::BrowserShowWebDialog(
+ WebDialogDelegate* delegate,
gfx::NativeWindow parent_window,
DialogStyle style) {
if (!parent_window)
parent_window = window_->GetNativeHandle();
- return browser::ShowHtmlDialog(parent_window,
- profile_,
- this,
- delegate,
- style);
+ return browser::ShowWebDialog(parent_window,
+ profile_,
+ this,
+ delegate,
+ style);
}
void Browser::BrowserRenderWidgetShowing() {
@@ -2108,7 +2108,7 @@
void Browser::OpenFeedbackDialog() {
content::RecordAction(UserMetricsAction("Feedback"));
- browser::ShowHtmlFeedbackView(this, std::string(), std::string());
+ browser::ShowWebFeedbackView(this, std::string(), std::string());
}
void Browser::ToggleBookmarkBar() {
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698