mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Add comments on the usage of attached devtools.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user