Add app.focus API.

This commit is contained in:
Cheng Zhao 2013-05-30 19:24:47 +08:00
parent 4133fc28d9
commit 9ea1f9956e
4 changed files with 18 additions and 0 deletions

View file

@ -27,6 +27,9 @@ class Browser : public WindowListObserver {
// Quit the application immediately without cleanup work.
void Terminate();
// Focus the application.
void Focus();
// Tell the application to open a file.
bool OpenFile(const std::string& file_path);