Add support for BrowserView autoresizing
This commit is contained in:
parent
638eae1080
commit
06fcf2c19d
9 changed files with 121 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <string>
|
||||
|
||||
#include "atom/browser/api/trackable_object.h"
|
||||
#include "atom/browser/native_browser_view.h"
|
||||
#include "native_mate/handle.h"
|
||||
|
||||
namespace gfx {
|
||||
|
@ -50,6 +51,7 @@ class BrowserView : public mate::TrackableObject<BrowserView> {
|
|||
v8::Local<v8::Object> wrapper,
|
||||
const mate::Dictionary& options);
|
||||
|
||||
void SetAutoResize(AutoResizeFlags flags);
|
||||
void SetBounds(const gfx::Rect& bounds);
|
||||
void SetBackgroundColor(const std::string& color_name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue