@@ -53,8 +53,8 @@ class RootWindow :
53
53
static scoped_refptr<RootWindow> GetForNSWindow (NSWindow* window);
54
54
#endif
55
55
56
- // Initialize as a normal window. This will create and show a browser window.
57
- // This method may be called on any thread.
56
+ // Initialize as a normal window. This will create and show a native window
57
+ // hosting a single browser instance. This method may be called on any thread.
58
58
// |delegate| must be non-NULL and outlive this object.
59
59
// Use RootWindowManager::CreateRootWindow() instead of calling this method
60
60
// directly.
@@ -65,10 +65,10 @@ class RootWindow :
65
65
const CefBrowserSettings& settings,
66
66
const std::string& url) = 0;
67
67
68
- // Initialize as a popup window. This is used to attach a browser window that
69
- // will be created later. The window will be shown once the browser is
70
- // available. This method may be called on any thread.
71
- // |delegate| must be non-NULL and outlive this object.
68
+ // Initialize as a popup window. This is used to attach a new native window to
69
+ // a single browser instance that will be created later. The native window
70
+ // will be created and shown once the browser is available. This method may be
71
+ // called on any thread. |delegate| must be non-NULL and outlive this object.
72
72
// Use RootWindowManager::CreateRootWindowAsPopup() instead of calling this
73
73
// method directly.
74
74
virtual void InitAsPopup (RootWindow::Delegate* delegate,
@@ -101,7 +101,7 @@ class RootWindow :
101
101
// Returns the browser that this window contains, if any.
102
102
virtual CefRefPtr<CefBrowser> GetBrowser () const = 0;
103
103
104
- // Returns the handle for this window, if any.
104
+ // Returns the native handle for this window, if any.
105
105
virtual ClientWindowHandle GetWindowHandle () const = 0;
106
106
107
107
protected:
0 commit comments