Add deprecation TODO for BrowserWindow.showDefinitionForSelection
This commit is contained in:
parent
ce19c2c0ad
commit
6360a5cae4
1 changed files with 2 additions and 0 deletions
|
@ -934,6 +934,8 @@ void NativeWindowMac::SetOverlayIcon(const gfx::Image& overlay,
|
|||
}
|
||||
|
||||
void NativeWindowMac::ShowDefinitionForSelection() {
|
||||
// TODO(kevinsawicki): Deprecate and remove this method in 2.0 in favor of
|
||||
// calling it directly on webContents.
|
||||
if (!web_contents())
|
||||
return;
|
||||
auto rwhv = web_contents()->GetRenderWidgetHostView();
|
||||
|
|
Loading…
Reference in a new issue