implement dev tools

This commit is contained in:
Patrick Reynolds 2013-11-15 14:23:52 -06:00
parent 85a86a9621
commit 282639a79a
2 changed files with 225 additions and 12 deletions

View file

@ -25,6 +25,27 @@ private:
// Owns us.
InspectableWebContentsImpl* inspectable_web_contents_;
std::string dockside;
GtkWidget *devtools_window;
// Show the dev tools in their own window. If they're already shown
// somewhere else, remove them cleanly and take any GtkPaned out of the
// window.
void ShowDevToolsInWindow();
// Show the dev tools in a vpaned (on the bottom) or hpaned (on the
// right). If they're already shown in a pane, move them and remove the
// old pane. If they're already shown in a window, hide (don't delete)
// that window.
void ShowDevToolsInPane(bool on_bottom);
// Create a new window for dev tools. This function doesn't actually
// put the dev tools in the window or show the window.
void MakeDevToolsWindow();
// Get the GtkWindow* that contains this object.
GtkWidget *GetBrowserWindow();
DISALLOW_COPY_AND_ASSIGN(InspectableWebContentsViewLinux);
};