mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add deprecation TODO for BrowserWindow.showDefinitionForSelection
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user