| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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" |
| 11 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 11 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
| 12 #include "chrome/browser/ui/views/html_dialog_view.h" | 12 #include "chrome/browser/ui/views/web_dialog_view.h" |
| 13 #include "chrome/browser/ui/webui/html_dialog_ui.h" | |
| 14 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
| 15 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| 16 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
| 17 #include "ui/gfx/screen.h" | 16 #include "ui/gfx/screen.h" |
| 18 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
| 19 | 18 |
| 20 using content::WebContents; | 19 using content::WebContents; |
| 21 using content::WebUIMessageHandler; | 20 using content::WebUIMessageHandler; |
| 22 | 21 |
| 23 namespace { | 22 namespace { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 80 } |
| 82 | 81 |
| 83 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const { | 82 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const { |
| 84 return false; | 83 return false; |
| 85 } | 84 } |
| 86 | 85 |
| 87 bool KeyboardOverlayDelegate::HandleContextMenu( | 86 bool KeyboardOverlayDelegate::HandleContextMenu( |
| 88 const content::ContextMenuParams& params) { | 87 const content::ContextMenuParams& params) { |
| 89 return true; | 88 return true; |
| 90 } | 89 } |
| OLD | NEW |