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

Side by Side Diff: chrome/browser/chromeos/frame/bubble_window_style.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 // A class to share common definitions between GTK and Views implementations. 13 // A class to share common definitions between GTK and Views implementations.
14 enum BubbleWindowStyle { 14 enum BubbleWindowStyle {
15 // Default style. 15 // Default style.
16 STYLE_GENERIC = 0, 16 STYLE_GENERIC = 0,
17 17
18 // Show close button at the top right (left for RTL). 18 // Show close button at the top right (left for RTL).
19 // Deprecated, see BubbleWindow::Create(). 19 // Deprecated, see BubbleWindow::Create().
20 STYLE_XBAR = 1 << 0, 20 STYLE_XBAR = 1 << 0,
21 21
22 // Show throbber for slow rendering. 22 // Show throbber for slow rendering.
23 // Deprecated, see BubbleWindow::Create(). 23 // Deprecated, see BubbleWindow::Create().
24 STYLE_THROBBER = 1 << 1, 24 STYLE_THROBBER = 1 << 1,
25 25
26 // Content flush to edge, no padding. 26 // Content flush to edge, no padding.
27 STYLE_FLUSH = 1 << 2 27 STYLE_FLUSH = 1 << 2,
28
29 // Only for certificate viewer. Add close button at the top right and flush
30 // to edge. Refer to issue 102511 for detail.
31 STYLE_CERT = 1 << 3
flackr 2011/11/10 16:03:16 This style probably isn't going to be specific to
bshe 2011/11/21 16:09:37 Move the style to chrome/brwoser/ui/dialog_style.h
28 }; 32 };
29 33
30 extern const SkColor kBubbleWindowBackgroundColor; 34 extern const SkColor kBubbleWindowBackgroundColor;
31 35
32 } // namespace chromeos 36 } // namespace chromeos
33 37
34 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_ 38 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_WINDOW_STYLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698