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/dialog_style.h

Issue 8469006: Promote bubble_window_style to more general dialog_style. (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Change base url and merge trunk. 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/dialog_style.h
diff --git a/chrome/browser/chromeos/frame/bubble_window_style.h b/chrome/browser/ui/dialog_style.h
similarity index 68%
copy from chrome/browser/chromeos/frame/bubble_window_style.h
copy to chrome/browser/ui/dialog_style.h
index 44073715555af2b479f5ad0184edb8b027fb1de4..31299ca1110a4ea40b752fca56b01ef15255c426 100644
--- a/chrome/browser/chromeos/frame/bubble_window_style.h
+++ b/chrome/browser/ui/dialog_style.h
@@ -2,21 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
-#define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
+#ifndef CHROME_BROWSER_UI_DIALOG_STYLE_H_
+#define CHROME_BROWSER_UI_DIALOG_STYLE_H_
#pragma once
#include "third_party/skia/include/core/SkColor.h"
-namespace chromeos {
-
// A class to share common definitions between GTK and Views implementations.
-enum BubbleWindowStyle {
+enum DialogStyle {
// Default style.
STYLE_GENERIC = 0,
+#if defined(OS_CHROMEOS)
// Show close button at the top right (left for RTL).
// Deprecated, see BubbleWindow::Create().
+ // TODO(bshe): We probably need to use this style for certificate viewer
+ // HTML dialog.
STYLE_XBAR = 1 << 0,
// Show throbber for slow rendering.
@@ -25,10 +26,8 @@ enum BubbleWindowStyle {
// Content flush to edge, no padding.
STYLE_FLUSH = 1 << 2
-};
+#endif
-extern const SkColor kBubbleWindowBackgroundColor;
-
-} // namespace chromeos
+};
-#endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
+#endif // CHROME_BROWSER_UI_DIALOG_STYLE_H_
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.cc ('k') | chrome/browser/ui/views/extensions/extension_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698