Revert "Merge pull request #218 from deepak1556/devtools_extensions_load_patch"

This reverts commit c0942cbbe67158c68ecfd9bf4cb7bdea84e0d529, reversing
changes made to a370461f3420ec285838126da7e7efd6a3101640.
This commit is contained in:
deepak1556 2016-05-12 18:57:54 +05:30
parent c860689a9b
commit 7e0918f95a
2 changed files with 0 additions and 4 deletions

View file

@ -368,9 +368,6 @@ void InspectableWebContentsImpl::LoadCompleted() {
// If the devtools can dock, "SetIsDocked" will be called by devtools itself. // If the devtools can dock, "SetIsDocked" will be called by devtools itself.
if (!can_dock_) if (!can_dock_)
SetIsDocked(DispatchCallback(), false); SetIsDocked(DispatchCallback(), false);
if (view_->GetDelegate())
view_->GetDelegate()->DevToolsLoaded();
} }
void InspectableWebContentsImpl::SetInspectedPageBounds(const gfx::Rect& rect) { void InspectableWebContentsImpl::SetInspectedPageBounds(const gfx::Rect& rect) {

View file

@ -12,7 +12,6 @@ class InspectableWebContentsViewDelegate {
virtual void DevToolsFocused() {} virtual void DevToolsFocused() {}
virtual void DevToolsOpened() {} virtual void DevToolsOpened() {}
virtual void DevToolsClosed() {} virtual void DevToolsClosed() {}
virtual void DevToolsLoaded() {}
// Returns the icon of devtools window. // Returns the icon of devtools window.
virtual gfx::ImageSkia GetDevToolsWindowIcon(); virtual gfx::ImageSkia GetDevToolsWindowIcon();