Modify Window API to be more consistent.

* '_' becomes '-'
* removes 'position' field
* adds 'center' method.
This commit is contained in:
Cheng Zhao 2013-05-10 20:34:05 +08:00
parent e6a9add691
commit 34e9132b68
8 changed files with 30 additions and 24 deletions

View file

@ -10,11 +10,10 @@ namespace atom {
namespace switches {
extern const char kTitle[];
extern const char kToolbar[];
extern const char kIcon[];
extern const char kFrame[];
extern const char kShow[];
extern const char kPosition[];
extern const char kCenter[];
extern const char kX[];
extern const char kY[];
extern const char kWidth[];
@ -24,7 +23,6 @@ extern const char kMinHeight[];
extern const char kMaxWidth[];
extern const char kMaxHeight[];
extern const char kResizable[];
extern const char kAsDesktop[];
extern const char kFullscreen[];
extern const char kKiosk[];
extern const char kAlwaysOnTop[];