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

Unified Diff: chrome/browser/ui/browser.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.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index fe2c1e14012b07c6a88fc31869cb1d2a497fe507..715036903c3e81366385937ccd82f60080166a32 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -50,6 +50,10 @@
#include "ui/base/ui_base_types.h"
#include "ui/gfx/rect.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/frame/bubble_window_style.h"
+#endif
+
class BrowserSyncedWindowDelegate;
class BrowserTabRestoreServiceDelegate;
class BrowserWindow;
@@ -451,8 +455,15 @@ class Browser : public TabHandlerDelegate,
// pointer to the delegate who knows how to display the dialog (which file
// URL and JSON string input to use during initialization). |parent_window|
// is the window that should be parent of the dialog, or NULL for the default.
+#if defined(OS_CHROMEOS)
+ gfx::NativeWindow BrowserShowHtmlDialog(HtmlDialogUIDelegate* delegate,
flackr 2011/11/10 16:03:16 Unfortunately I am fairly certain that having a di
bshe 2011/11/21 16:09:37 Done.
+ gfx::NativeWindow parent_window,
+ chromeos::BubbleWindowStyle style =
+ chromeos::STYLE_GENERIC);
flackr 2011/11/10 16:03:16 Default argument values are not allowed according
bshe 2011/11/21 16:09:37 Done. Thanks for the link!
+#else
gfx::NativeWindow BrowserShowHtmlDialog(HtmlDialogUIDelegate* delegate,
gfx::NativeWindow parent_window);
+#endif
// Called when a popup select is about to be displayed.
void BrowserRenderWidgetShowing();

Powered by Google App Engine
This is Rietveld 408576698