mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: Fix/improve source code documentation (issue #1500).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2019 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -18,14 +18,14 @@ namespace client {
|
||||
// indicated.
|
||||
class BrowserWindow : public ClientHandler::Delegate {
|
||||
public:
|
||||
// This interface is implemented by the owner of the BrowserWindowWin. The
|
||||
// This interface is implemented by the owner of the BrowserWindow. The
|
||||
// methods of this class will be called on the main thread.
|
||||
class Delegate {
|
||||
public:
|
||||
// Called when the browser has been created.
|
||||
virtual void OnBrowserCreated(CefRefPtr<CefBrowser> browser) = 0;
|
||||
|
||||
// Called when the BrowserWindowWin has been destroyed.
|
||||
// Called when the BrowserWindow has been destroyed.
|
||||
virtual void OnBrowserWindowDestroyed() = 0;
|
||||
|
||||
// Set the window URL address.
|
||||
@@ -88,7 +88,7 @@ class BrowserWindow : public ClientHandler::Delegate {
|
||||
friend struct base::DefaultDeleter<BrowserWindow>;
|
||||
|
||||
// Constructor may be called on any thread.
|
||||
// |root_window| and |delegate| must outlive this object.
|
||||
// |delegate| must outlive this object.
|
||||
explicit BrowserWindow(Delegate* delegate);
|
||||
|
||||
// ClientHandler::Delegate methods.
|
||||
|
Reference in New Issue
Block a user