Add comments on the usage of attached devtools.

This commit is contained in:
Cheng Zhao 2014-06-10 12:44:30 +08:00
parent 9a70c9bb44
commit 1b274a1fd6

View file

@ -23,7 +23,16 @@ class InspectableWebContentsViewWin : public InspectableWebContentsView {
InspectableWebContentsImpl* inspectable_web_contents_impl);
~InspectableWebContentsViewWin();
// Returns the container control, which has devtools view attached. Unlike
// GetNativeView(), this returns a views::View instead of HWND, and can only
// be used by applications that use the views library, if you don't use the
// views library, you probably want to set dock side to "undocked" before
// showing the devtools, because devtools is showed attached by default and
// attached devtools is currently only supported when using views library.
views::View* GetView() const;
// Returns the web view control, which can be used by the
// GetInitiallyFocusedView() to set initial focus to web view.
views::View* GetWebView() const;
virtual gfx::NativeView GetNativeView() const OVERRIDE;