Create the browser as a child window.
| 107 | // Create the browser as a child window. |
| 108 | /// |
| 109 | void SetAsChild(CefWindowHandle parent, RECT windowRect) { |
| 110 | style = |
| 111 | WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_TABSTOP | WS_VISIBLE; |
| 112 | parent_window = parent; |
| 113 | x = windowRect.left; |
| 114 | y = windowRect.top; |
| 115 | width = windowRect.right - windowRect.left; |
| 116 | height = windowRect.bottom - windowRect.top; |
| 117 | } |
| 118 | |
| 119 | /// |
| 120 | // Create the browser as a popup window. |
no outgoing calls
no test coverage detected