2015-06-25 04:29:34 +00:00
|
|
|
#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() {}
|
2016-05-12 01:45:49 +00:00
|
|
|
virtual void DevToolsLoaded() {}
|
2015-06-25 04:29:34 +00:00
|
|
|
|
|
|
|
// 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_
|