OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/keyboard_overlay_delegate.h" | 5 #include "chrome/browser/ui/views/keyboard_overlay_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 return; | 67 return; |
68 } | 68 } |
69 | 69 |
70 void KeyboardOverlayDelegate::OnCloseContents(TabContents* source, | 70 void KeyboardOverlayDelegate::OnCloseContents(TabContents* source, |
71 bool* out_close_dialog) { | 71 bool* out_close_dialog) { |
72 } | 72 } |
73 | 73 |
74 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const { | 74 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const { |
75 return false; | 75 return false; |
76 } | 76 } |
| 77 |
| 78 bool KeyboardOverlayDelegate::HandleContextMenu( |
| 79 const ContextMenuParams& params) { |
| 80 return true; |
| 81 } |
OLD | NEW |