DescriptionImplement window management devtools commands for headless.
These commands are used by chromedriver to change window bounds (size, position) and state (normal, minimized, maximized, fullscreen).
1. add window state to HeadlessWebContentsImpl to track window states change.
2. add window id to HeadlessWebContentsImpl as an unique id used by the commands.
3. window size doesn't change when its state changes.
BUG=604324
Review-Url: https://codereview.chromium.org/2896763002
Cr-Commit-Position: refs/heads/master@{#474601}
Committed: https://chromium.googlesource.com/chromium/src/+/cbecd589a9ca1e66959de5bc3b6016ff1adb5d21
Patch Set 1 #Patch Set 2 : nit #Patch Set 3 : nit #
Total comments: 12
Patch Set 4 : map 1 tab to 1 window and remove screen_size #
Total comments: 6
Patch Set 5 : nit and rebase #Messages
Total messages: 38 (22 generated)
|