electron/brightray/browser/linux/inspectable_web_contents_view_linux.cc
Cheng Zhao 7050b7944f Remove devtools view on Linux.
GTK+ has been replaced, we need to rewrite the whole thing.
2014-07-09 10:24:10 +08:00

46 lines
1.3 KiB
C++

#include "browser/linux/inspectable_web_contents_view_linux.h"
#include "base/strings/stringprintf.h"
#include "browser/browser_client.h"
#include "browser/inspectable_web_contents_impl.h"
#include "content/public/browser/web_contents_view.h"
namespace brightray {
InspectableWebContentsView* CreateInspectableContentsView(
InspectableWebContentsImpl* inspectable_web_contents) {
return new InspectableWebContentsViewLinux(inspectable_web_contents);
}
InspectableWebContentsViewLinux::InspectableWebContentsViewLinux(
InspectableWebContentsImpl* inspectable_web_contents)
: inspectable_web_contents_(inspectable_web_contents) {
}
InspectableWebContentsViewLinux::~InspectableWebContentsViewLinux() {
}
gfx::NativeView InspectableWebContentsViewLinux::GetNativeView() const {
auto web_contents = inspectable_web_contents_->GetWebContents();
return web_contents->GetView()->GetNativeView();
}
void InspectableWebContentsViewLinux::ShowDevTools() {
}
void InspectableWebContentsViewLinux::CloseDevTools() {
}
bool InspectableWebContentsViewLinux::IsDevToolsViewShowing() {
return false;
}
void InspectableWebContentsViewLinux::SetIsDocked(bool docked) {
}
void InspectableWebContentsViewLinux::SetContentsResizingStrategy(
const DevToolsContentsResizingStrategy& strategy) {
}
} // namespace brightray