electron/brightray/browser/inspectable_web_contents_view_delegate.h

31 lines
821 B
C
Raw Normal View History

#ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
#define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
2015-06-25 04:29:34 +00:00
#include <string>
2015-06-25 04:29:34 +00:00
#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.
2018-04-18 01:46:27 +00:00
virtual void GetDevToolsWindowWMClass(std::string* name,
std::string* class_name) {}
2015-06-25 04:29:34 +00:00
#endif
};
} // namespace brightray
#endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_