2013-03-14 09:03:50 -04: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 {
|
|
|
|
public:
|
|
|
|
virtual ~InspectableWebContentsView() {}
|
|
|
|
|
|
|
|
virtual gfx::NativeView GetNativeView() const = 0;
|
|
|
|
|
|
|
|
virtual void ShowDevTools() = 0;
|
2013-03-27 10:59:40 -04:00
|
|
|
virtual void CloseDevTools() = 0;
|
2013-03-27 11:19:15 -04:00
|
|
|
virtual bool SetDockSide(const std::string& side) = 0;
|
2013-03-14 09:03:50 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|