Prepping some code for cross-input device context menu support