win: Implement setContentSize API.
This commit is contained in:
parent
0b202a2df1
commit
8ae66cab9d
2 changed files with 24 additions and 14 deletions
|
@ -115,6 +115,8 @@ class NativeWindowWin : public NativeWindow,
|
|||
typedef struct { int position; ui::MenuModel* model; } MenuItem;
|
||||
typedef std::map<ui::Accelerator, MenuItem> AcceleratorTable;
|
||||
|
||||
void ClientAreaSizeToWindowSize(gfx::Size* size);
|
||||
|
||||
void OnViewWasResized();
|
||||
|
||||
// Register accelerators supported by the menu model.
|
||||
|
@ -131,6 +133,8 @@ class NativeWindowWin : public NativeWindow,
|
|||
|
||||
scoped_ptr<SkRegion> draggable_region_;
|
||||
|
||||
bool use_content_size_;
|
||||
|
||||
bool resizable_;
|
||||
string16 title_;
|
||||
gfx::Size minimum_size_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue