implement GetNativeView

This commit is contained in:
Patrick Reynolds 2013-11-07 23:42:15 -06:00
parent 90e619a6d9
commit c6ce51863a

View file

@ -13,34 +13,32 @@ InspectableWebContentsView* CreateInspectableContentsView(InspectableWebContents
InspectableWebContentsViewLinux::InspectableWebContentsViewLinux(InspectableWebContentsImpl* inspectable_web_contents)
: inspectable_web_contents_(inspectable_web_contents) {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::InspectableWebContentsViewLinux\n");
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::InspectableWebContentsViewLinux\n");
}
InspectableWebContentsViewLinux::~InspectableWebContentsViewLinux() {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::~InspectableWebContentsViewLinux\n");
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::~InspectableWebContentsViewLinux\n");
}
gfx::NativeView InspectableWebContentsViewLinux::GetNativeView() const {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::GetNativeView\n");
return NULL;
return inspectable_web_contents_->GetWebContents()->GetView()->GetNativeView();
}
void InspectableWebContentsViewLinux::ShowDevTools() {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::ShowDevTools\n");
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::ShowDevTools\n");
}
void InspectableWebContentsViewLinux::CloseDevTools() {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::CloseDevTools\n");
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::CloseDevTools\n");
}
bool InspectableWebContentsViewLinux::SetDockSide(const std::string& side) {
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::SetDockSide\n");
// TODO
fprintf(stderr, "InspectableWebContentsViewLinux::SetDockSide\n");
return false;
}