Avoid exposing data members to subclass
This commit is contained in:
parent
438a5acc0f
commit
58b1172025
4 changed files with 53 additions and 46 deletions
|
@ -522,6 +522,12 @@ void NativeWindow::NotifyWindowLeaveHtmlFullScreen() {
|
|||
OnWindowLeaveHtmlFullScreen());
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowExecuteWindowsCommand(
|
||||
const std::string& command) {
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
|
||||
OnExecuteWindowsCommand(command));
|
||||
}
|
||||
|
||||
void NativeWindow::DevToolsFocused() {
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver, observers_, OnDevToolsFocus());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue