2013-03-14 13:03:50 +00:00
|
|
|
#ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
|
|
|
#define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
|
|
|
|
|
|
|
#include "ui/gfx/native_widget_types.h"
|
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
|
|
|
class InspectableWebContentsView {
|
2013-11-17 23:23:13 +00:00
|
|
|
public:
|
2013-03-14 13:03:50 +00:00
|
|
|
virtual ~InspectableWebContentsView() {}
|
|
|
|
|
|
|
|
virtual gfx::NativeView GetNativeView() const = 0;
|
|
|
|
|
|
|
|
virtual void ShowDevTools() = 0;
|
2013-03-27 14:59:40 +00:00
|
|
|
virtual void CloseDevTools() = 0;
|
2013-12-09 12:34:44 +00:00
|
|
|
virtual bool IsDevToolsViewShowing() = 0;
|
2013-03-27 15:19:15 +00:00
|
|
|
virtual bool SetDockSide(const std::string& side) = 0;
|
2013-03-14 13:03:50 +00:00
|
|
|
};
|
|
|
|
|
2013-11-17 23:20:17 +00:00
|
|
|
} // namespace brightray
|
2013-03-14 13:03:50 +00:00
|
|
|
|
|
|
|
#endif
|