No need to override TitleWasSet in NativeWindow
This commit is contained in:
parent
782af41c7c
commit
8d20dda6d7
6 changed files with 5 additions and 23 deletions
|
@ -161,11 +161,6 @@ Window::~Window() {
|
|||
Destroy();
|
||||
}
|
||||
|
||||
void Window::OnPageTitleUpdated(bool* prevent_default,
|
||||
const std::string& title) {
|
||||
*prevent_default = Emit("page-title-updated", title);
|
||||
}
|
||||
|
||||
void Window::WillCloseWindow(bool* prevent_default) {
|
||||
*prevent_default = Emit("close");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue