summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_dialogs.h
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 20:00:37 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 20:00:37 +0000
commit22c830d776888b5c42110447ae7759f457482571 (patch)
tree037e306bc5b8b5c6c700bcea95f0a13c642a1355 /chrome/browser/ui/browser_dialogs.h
parent36ce1d13b38bfc6e5a352595668ad9010574a001 (diff)
downloadchromium_src-22c830d776888b5c42110447ae7759f457482571.zip
chromium_src-22c830d776888b5c42110447ae7759f457482571.tar.gz
chromium_src-22c830d776888b5c42110447ae7759f457482571.tar.bz2
Plumb STYEL_GENERIC thru BrowserShowHtmlDialog, ShowHtmlDialog, CreateViewsWindow.
Split from http://codereview.chromium.org/8461015/ STYEL_GENERIC is promoted from bubble_window_style in this CL: http://codereview.chromium.org/8469006/ This CL plumbs the promoted STYLE_GENERIC thru the following functions: BrowserShowHtmlDialog ShowHtmlDialog CreateViewsWindow The purpose of this change is to enable us passing a STYLE_FLUSH_CONTENT&STYLE_XBAR dialog style through BrowserShowHtmlDialog for certificate viewer html dialog. See crbug.com/102511 and http://codereview.chromium.org/8461015/ for detail. Ultimately we may be implementing the styles not related to window decorations in other platforms for consistency. BUG=102511 TEST=None Review URL: http://codereview.chromium.org/8676014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_dialogs.h')
-rw-r--r--chrome/browser/ui/browser_dialogs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 1f34438..ca42868 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
#pragma once
+#include "chrome/browser/ui/dialog_style.h"
#include "ipc/ipc_message.h"
#include "ui/gfx/native_widget_types.h"
@@ -35,7 +36,8 @@ void ShowAboutIPCDialog();
// Make sure to use the returned window only when you know it is safe
// to do so, i.e. before OnDialogClosed() is called on the delegate.
gfx::NativeWindow ShowHtmlDialog(gfx::NativeWindow parent, Profile* profile,
- HtmlDialogUIDelegate* delegate);
+ HtmlDialogUIDelegate* delegate,
+ DialogStyle style);
// Creates the ExtensionInstalledBubble and schedules it to be shown once
// the extension has loaded. |extension| is the installed extension. |browser|