No need to override TitleWasSet in NativeWindow

This commit is contained in:
Cheng Zhao 2015-12-01 17:51:09 +08:00
parent 782af41c7c
commit 8d20dda6d7
6 changed files with 5 additions and 23 deletions

View file

@ -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");
}