Implement window.moveTo and window.ResizeTo. Fix #2.
This commit is contained in:
parent
bfea9775a0
commit
349ed4fd73
2 changed files with 15 additions and 0 deletions
|
@ -131,7 +131,11 @@ class NativeWindow : public content::WebContentsDelegate,
|
|||
virtual void BeforeUnloadFired(content::WebContents* tab,
|
||||
bool proceed,
|
||||
bool* proceed_to_fire_unload) OVERRIDE;
|
||||
virtual void MoveContents(content::WebContents* source,
|
||||
const gfx::Rect& pos) OVERRIDE;
|
||||
virtual void CloseContents(content::WebContents* source) OVERRIDE;
|
||||
virtual bool IsPopupOrPanel(
|
||||
const content::WebContents* source) const OVERRIDE;
|
||||
|
||||
// Implementations of content::WebContentsObserver.
|
||||
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue