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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 8479042: UI polish for certificate viewer (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Add x button and remove padding and close button for certificate viewer. Created 9 years, 1 month 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/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 1f344384d4b74846f3b342f09827c0f6879c78be..cb219ff22c76987443a1f7ed792951f8b1a9b624 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -9,6 +9,10 @@
#include "ipc/ipc_message.h"
#include "ui/gfx/native_widget_types.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/frame/bubble_window_style.h"
+#endif
+
class Browser;
class Extension;
class HtmlDialogUIDelegate;
@@ -34,8 +38,15 @@ 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.
+#if defined(OS_CHROMEOS)
+gfx::NativeWindow ShowHtmlDialog(gfx::NativeWindow parent, Profile* profile,
+ HtmlDialogUIDelegate* delegate,
+ chromeos::BubbleWindowStyle style =
+ chromeos::STYLE_GENERIC);
+#else
gfx::NativeWindow ShowHtmlDialog(gfx::NativeWindow parent, Profile* profile,
HtmlDialogUIDelegate* delegate);
+#endif
// Creates the ExtensionInstalledBubble and schedules it to be shown once
// the extension has loaded. |extension| is the installed extension. |browser|

Powered by Google App Engine
This is Rietveld 408576698