| 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 "content/browser/renderer_host/render_widget_host_view_win.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <peninputpanel_i.c> | 9 #include <peninputpanel_i.c> |
| 10 #include <stack> | 10 #include <stack> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "content/public/browser/notification_service.h" | 44 #include "content/public/browser/notification_service.h" |
| 45 #include "content/public/browser/notification_types.h" | 45 #include "content/public/browser/notification_types.h" |
| 46 #include "content/public/common/content_switches.h" | 46 #include "content/public/common/content_switches.h" |
| 47 #include "content/public/common/page_zoom.h" | 47 #include "content/public/common/page_zoom.h" |
| 48 #include "content/public/common/process_type.h" | 48 #include "content/public/common/process_type.h" |
| 49 #include "skia/ext/skia_utils_win.h" | 49 #include "skia/ext/skia_utils_win.h" |
| 50 #include "third_party/skia/include/core/SkRegion.h" | 50 #include "third_party/skia/include/core/SkRegion.h" |
| 51 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 52 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 52 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 53 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" | 53 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" |
| 54 #include "ui/base/event.h" | 54 #include "ui/base/events/event.h" |
| 55 #include "ui/base/ime/composition_text.h" | 55 #include "ui/base/ime/composition_text.h" |
| 56 #include "ui/base/l10n/l10n_util_win.h" | 56 #include "ui/base/l10n/l10n_util_win.h" |
| 57 #include "ui/base/text/text_elider.h" | 57 #include "ui/base/text/text_elider.h" |
| 58 #include "ui/base/ui_base_switches.h" | 58 #include "ui/base/ui_base_switches.h" |
| 59 #include "ui/base/view_prop.h" | 59 #include "ui/base/view_prop.h" |
| 60 #include "ui/base/win/hwnd_util.h" | 60 #include "ui/base/win/hwnd_util.h" |
| 61 #include "ui/base/win/mouse_wheel_util.h" | 61 #include "ui/base/win/mouse_wheel_util.h" |
| 62 #include "ui/gfx/canvas.h" | 62 #include "ui/gfx/canvas.h" |
| 63 #include "ui/gfx/gdi_util.h" | 63 #include "ui/gfx/gdi_util.h" |
| 64 #include "ui/gfx/rect.h" | 64 #include "ui/gfx/rect.h" |
| (...skipping 3018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3083 // receive a focus change in the context of a pointer down message, it means | 3083 // receive a focus change in the context of a pointer down message, it means |
| 3084 // that the pointer down message occurred on the edit field and we should | 3084 // that the pointer down message occurred on the edit field and we should |
| 3085 // display the on screen keyboard | 3085 // display the on screen keyboard |
| 3086 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_) | 3086 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_) |
| 3087 DisplayOnScreenKeyboardIfNeeded(); | 3087 DisplayOnScreenKeyboardIfNeeded(); |
| 3088 received_focus_change_after_pointer_down_ = false; | 3088 received_focus_change_after_pointer_down_ = false; |
| 3089 pointer_down_context_ = false; | 3089 pointer_down_context_ = false; |
| 3090 } | 3090 } |
| 3091 | 3091 |
| 3092 } // namespace content | 3092 } // namespace content |
| OLD | NEW |