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

Side by Side Diff: ui/base/message_box_flags.h

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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
« no previous file with comments | « ui/base/l10n/l10n_font_util.cc ('k') | ui/base/text/bidi_line_iterator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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 APP_MESSAGE_BOX_FLAGS_H_ 5 #ifndef UI_BASE_MESSAGE_BOX_FLAGS_H_
6 #define APP_MESSAGE_BOX_FLAGS_H_ 6 #define UI_BASE_MESSAGE_BOX_FLAGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 namespace ui {
12
11 // This class contains flags used to communicate the type of message box 13 // This class contains flags used to communicate the type of message box
12 // to show. E.g., the renderer can request the browser to show a 14 // to show. E.g., the renderer can request the browser to show a
13 // javascript alert or a javascript confirm message. 15 // javascript alert or a javascript confirm message.
14 class MessageBoxFlags { 16 class MessageBoxFlags {
15 public: 17 public:
16 static const int kFlagHasOKButton = 0x1; 18 static const int kFlagHasOKButton = 0x1;
17 static const int kFlagHasCancelButton = 0x2; 19 static const int kFlagHasCancelButton = 0x2;
18 static const int kFlagHasPromptField = 0x4; 20 static const int kFlagHasPromptField = 0x4;
19 static const int kFlagHasMessage = 0x8; 21 static const int kFlagHasMessage = 0x8;
20 22
(...skipping 27 matching lines...) Expand all
48 DIALOGBUTTON_NONE = 0, // No dialog buttons, for WindowType == WINDOW. 50 DIALOGBUTTON_NONE = 0, // No dialog buttons, for WindowType == WINDOW.
49 DIALOGBUTTON_OK = 1, // Has an OK button. 51 DIALOGBUTTON_OK = 1, // Has an OK button.
50 DIALOGBUTTON_CANCEL = 2, // Has a Cancel button (becomes a Close button if 52 DIALOGBUTTON_CANCEL = 2, // Has a Cancel button (becomes a Close button if
51 }; // no OK button). 53 }; // no OK button).
52 54
53 private: 55 private:
54 MessageBoxFlags() {} 56 MessageBoxFlags() {}
55 DISALLOW_COPY_AND_ASSIGN(MessageBoxFlags); 57 DISALLOW_COPY_AND_ASSIGN(MessageBoxFlags);
56 }; 58 };
57 59
58 #endif // APP_MESSAGE_BOX_FLAGS_H_ 60 } // namespace ui
61
62 #endif // UI_BASE_MESSAGE_BOX_FLAGS_H_
OLDNEW
« no previous file with comments | « ui/base/l10n/l10n_font_util.cc ('k') | ui/base/text/bidi_line_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698