use AtomEventProcessingWindow as native window.

This commit is contained in:
Cheng Zhao 2013-04-12 15:53:29 +08:00
parent 3391370857
commit af94c434ac
4 changed files with 43 additions and 6 deletions

View file

@ -65,6 +65,8 @@ class NativeWindow {
virtual void FlashFrame(bool flash) = 0;
virtual void SetKiosk(bool kiosk) = 0;
virtual bool IsKiosk() = 0;
virtual void ShowDevTools();
virtual void CloseDevTools();
content::WebContents* GetWebContents() const;
@ -72,6 +74,10 @@ class NativeWindow {
explicit NativeWindow(content::BrowserContext* browser_context,
base::DictionaryValue* options);
brightray::InspectableWebContents* inspectable_web_contents() const {
return inspectable_web_contents_.get();
}
private:
scoped_ptr<brightray::InspectableWebContents> inspectable_web_contents_;