Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1561)

Unified Diff: chrome/browser/ui/views/keyboard_overlay_delegate.cc

Issue 6879006: Disable the context menu on the keyboard overlay and the print dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/keyboard_overlay_delegate.cc
diff --git a/chrome/browser/ui/views/keyboard_overlay_delegate.cc b/chrome/browser/ui/views/keyboard_overlay_delegate.cc
index 8d0f4adb294b916a1b53e7c1e0b890cf732a4c69..c1448a9452814fc237d6836a7c31ec6c4761b330 100644
--- a/chrome/browser/ui/views/keyboard_overlay_delegate.cc
+++ b/chrome/browser/ui/views/keyboard_overlay_delegate.cc
@@ -74,3 +74,8 @@ void KeyboardOverlayDelegate::OnCloseContents(TabContents* source,
bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const {
return false;
}
+
+bool KeyboardOverlayDelegate::HandleContextMenu(
+ const ContextMenuParams& params) {
+ return true;
+}
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698