Add comments on the usage of attached devtools.
This commit is contained in:
parent
9a70c9bb44
commit
1b274a1fd6
1 changed files with 9 additions and 0 deletions
|
@ -23,7 +23,16 @@ class InspectableWebContentsViewWin : public InspectableWebContentsView {
|
||||||
InspectableWebContentsImpl* inspectable_web_contents_impl);
|
InspectableWebContentsImpl* inspectable_web_contents_impl);
|
||||||
~InspectableWebContentsViewWin();
|
~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;
|
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;
|
views::View* GetWebView() const;
|
||||||
|
|
||||||
virtual gfx::NativeView GetNativeView() const OVERRIDE;
|
virtual gfx::NativeView GetNativeView() const OVERRIDE;
|
||||||
|
|
Loading…
Reference in a new issue