This commit is contained in:
leethomas 2016-01-01 01:45:03 -08:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ 8857eb9cba
ΠšΠΎΠΌΠΌΠΈΡ‚ 54c8c3e3fc
2 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 13 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 1 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -783,7 +783,7 @@ bool WebContents::IsDevToolsOpened() {
bool WebContents::IsDevToolsFocused() {
if (type_ == REMOTE)
return false;
return managed_web_contents()->GetView()->IsDevToolsViewFocused();
}

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -650,3 +650,15 @@ Emitted when a page's theme color changes. This is usually due to encountering a
```html
<meta name='theme-color' content='#ff0000'>
```
### Event: 'devtools-opened'
Emitted when DevTools is opened.
### Event: 'devtools-closed'
Emitted when DevTools is closed.
### Event: 'devtools-focused'
Emitted when DevTools is focused / opened.