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

Side by Side Diff: chrome/browser/ui/dialog_style.h

Issue 8774022: Converting BubbleWindow uses, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Doesn't build... just a checkpoint for this work, might change approach. Created 9 years 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 | Annotate | Revision Log
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_UI_DIALOG_STYLE_H_ 5 #ifndef CHROME_BROWSER_UI_DIALOG_STYLE_H_
6 #define CHROME_BROWSER_UI_DIALOG_STYLE_H_ 6 #define CHROME_BROWSER_UI_DIALOG_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 // A class to share common definitions between GTK and Views implementations. 11 // A class to share common definitions between GTK and Views implementations.
12 enum DialogStyle { 12 enum DialogStyle {
13 // Default style. 13 // Default style.
14 STYLE_GENERIC = 0, 14 STYLE_GENERIC = 0,
15 15
16 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
17 // Show close button at the top right (left for RTL).
18 // Deprecated, see BubbleWindow::Create().
19 // TODO(bshe): We probably need to use this style for certificate viewer
20 // HTML dialog.
21 STYLE_XBAR = 1 << 0,
22
23 // Show throbber for slow rendering.
24 // Deprecated, see BubbleWindow::Create().
25 STYLE_THROBBER = 1 << 1,
26
27 // Content and title flush to edge, no padding. 17 // Content and title flush to edge, no padding.
28 STYLE_FLUSH = 1 << 2, 18 STYLE_FLUSH = 1 << 0,
29 19
30 // Content flush to edge. Padding only on title. 20 // Content flush to edge. Padding only on title.
31 STYLE_FLUSH_CONTENT = 1 << 3 21 STYLE_FLUSH_CONTENT = 1 << 1
32 #endif 22 #endif
33 23
34 }; 24 };
35 25
36 #endif // CHROME_BROWSER_UI_DIALOG_STYLE_H_ 26 #endif // CHROME_BROWSER_UI_DIALOG_STYLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/sim_dialog_delegate.cc ('k') | chrome/browser/ui/views/keyboard_overlay_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698