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

Side by Side Diff: app/message_box_flags.h

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « app/gfx/path_win.cc ('k') | app/os_exchange_data.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) 2009 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_COMMON_MESSAGE_BOX_FLAGS_H_ 5 #ifndef APP_MESSAGE_BOX_FLAGS_H_
6 #define CHROME_COMMON_MESSAGE_BOX_FLAGS_H_ 6 #define APP_MESSAGE_BOX_FLAGS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // This class contains flags used to communicate the type of message box 10 // This class contains flags used to communicate the type of message box
11 // to show. E.g., the renderer can request the browser to show a 11 // to show. E.g., the renderer can request the browser to show a
12 // javascript alert or a javascript confirm message. 12 // javascript alert or a javascript confirm message.
13 class MessageBoxFlags { 13 class MessageBoxFlags {
14 public: 14 public:
15 static const int kFlagHasOKButton = 0x1; 15 static const int kFlagHasOKButton = 0x1;
16 static const int kFlagHasCancelButton = 0x2; 16 static const int kFlagHasCancelButton = 0x2;
(...skipping 30 matching lines...) Expand all
47 DIALOGBUTTON_NONE = 0, // No dialog buttons, for WindowType == WINDOW. 47 DIALOGBUTTON_NONE = 0, // No dialog buttons, for WindowType == WINDOW.
48 DIALOGBUTTON_OK = 1, // Has an OK button. 48 DIALOGBUTTON_OK = 1, // Has an OK button.
49 DIALOGBUTTON_CANCEL = 2, // Has a Cancel button (becomes a Close button if 49 DIALOGBUTTON_CANCEL = 2, // Has a Cancel button (becomes a Close button if
50 }; // no OK button). 50 }; // no OK button).
51 51
52 private: 52 private:
53 MessageBoxFlags() {} 53 MessageBoxFlags() {}
54 DISALLOW_COPY_AND_ASSIGN(MessageBoxFlags); 54 DISALLOW_COPY_AND_ASSIGN(MessageBoxFlags);
55 }; 55 };
56 56
57 #endif // CHROME_COMMON_MESSAGE_BOX_FLAGS_H_ 57 #endif // APP_MESSAGE_BOX_FLAGS_H_
OLDNEW
« no previous file with comments | « app/gfx/path_win.cc ('k') | app/os_exchange_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698