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

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

Issue 8479042: UI polish for certificate viewer (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Edit comments. 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
« no previous file with comments | « chrome/browser/ui/views/window.h ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/window.cc
diff --git a/chrome/browser/ui/views/window.cc b/chrome/browser/ui/views/window.cc
index 6199ecfbc9eb45bf62703317937615c36d8d1c1e..321f694a95f5207b9aa29cae2188742245c4b5a7 100644
--- a/chrome/browser/ui/views/window.cc
+++ b/chrome/browser/ui/views/window.cc
@@ -13,12 +13,12 @@
namespace browser {
views::Widget* CreateViewsWindow(gfx::NativeWindow parent,
- views::WidgetDelegate* delegate) {
+ views::WidgetDelegate* delegate,
+ DialogStyle style) {
#if defined(OS_CHROMEOS) && defined(TOOLKIT_USES_GTK)
// TODO(msw): revert to BubbleWindow for all ChromeOS cases when CL
// for crbug.com/98322 is landed.
- return chromeos::BubbleWindow::Create(parent,
- STYLE_GENERIC, delegate);
+ return chromeos::BubbleWindow::Create(parent, style, delegate);
#else
return views::Widget::CreateWindowWithParent(delegate, parent);
#endif
« no previous file with comments | « chrome/browser/ui/views/window.h ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698