Add showDefinitionForSelection webContents proxy method

This commit is contained in:
Kevin Sawicki 2016-06-08 10:19:28 -07:00
parent 6337e93e6d
commit 70996c79ba
7 changed files with 3 additions and 33 deletions

View file

@ -623,12 +623,6 @@ void Window::UnhookAllWindowMessages() {
}
#endif
#if defined(OS_MACOSX)
void Window::ShowDefinitionForSelection() {
window_->ShowDefinitionForSelection();
}
#endif
#if defined(TOOLKIT_VIEWS)
void Window::SetIcon(mate::Handle<NativeImage> icon) {
#if defined(OS_WIN)
@ -760,10 +754,6 @@ void Window::BuildPrototype(v8::Isolate* isolate,
.SetMethod("unhookWindowMessage", &Window::UnhookWindowMessage)
.SetMethod("unhookAllWindowMessages", &Window::UnhookAllWindowMessages)
#endif
#if defined(OS_MACOSX)
.SetMethod("showDefinitionForSelection",
&Window::ShowDefinitionForSelection)
#endif
#if defined(TOOLKIT_VIEWS)
.SetMethod("setIcon", &Window::SetIcon)
#endif