Add a method in InspectableWebContentDelegate to set icon for devtools window.

This commit is contained in:
Cheng Zhao 2014-09-09 15:28:48 +08:00
parent c67ba6de6a
commit a6627a7286
6 changed files with 28 additions and 0 deletions

View file

@ -54,6 +54,9 @@ class InspectableWebContentsImpl :
virtual void SetDelegate(InspectableWebContentsDelegate* delegate) {
delegate_ = delegate;
}
virtual InspectableWebContentsDelegate* GetDelegate() const {
return delegate_;
}
content::WebContents* devtools_web_contents() {
return devtools_web_contents_.get();