summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/dialog_style.h
blob: fd9774ee9da6a9f463b116bbe76fb6cd2cec194e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_DIALOG_STYLE_H_
#define CHROME_BROWSER_UI_DIALOG_STYLE_H_
#pragma once

#include "third_party/skia/include/core/SkColor.h"

// A class to share common definitions between GTK and Views implementations.
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.
  // Deprecated, see BubbleWindow::Create().
  STYLE_THROBBER = 1 << 1,

  // Content and title flush to edge, no padding.
  STYLE_FLUSH = 1 << 2,

  // Content flush to edge. Padding only on title.
  STYLE_FLUSH_CONTENT = 1 << 3
#endif

};

#endif  // CHROME_BROWSER_UI_DIALOG_STYLE_H_