electron/brightray/browser/inspectable_web_contents_view_delegate.h
deepak1556 7e0918f95a Revert "Merge pull request #218 from deepak1556/devtools_extensions_load_patch"
This reverts commit c0942cbbe67158c68ecfd9bf4cb7bdea84e0d529, reversing
changes made to a370461f3420ec285838126da7e7efd6a3101640.
2016-05-12 18:57:54 +05:30

28 lines
739 B
C++

#ifndef BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
#define BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
#include "ui/gfx/image/image_skia.h"
namespace brightray {
class InspectableWebContentsViewDelegate {
public:
virtual ~InspectableWebContentsViewDelegate() {}
virtual void DevToolsFocused() {}
virtual void DevToolsOpened() {}
virtual void DevToolsClosed() {}
// Returns the icon of devtools window.
virtual gfx::ImageSkia GetDevToolsWindowIcon();
#if defined(USE_X11)
// Called when creating devtools window.
virtual void GetDevToolsWindowWMClass(
std::string* name, std::string* class_name) {}
#endif
};
} // namespace brightray
#endif // BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_