| 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_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <tuple> | 10 #include <tuple> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 #include "content/public/common/web_preferences.h" | 75 #include "content/public/common/web_preferences.h" |
| 76 #include "gpu/GLES2/gl2extchromium.h" | 76 #include "gpu/GLES2/gl2extchromium.h" |
| 77 #include "gpu/command_buffer/service/gpu_switches.h" | 77 #include "gpu/command_buffer/service/gpu_switches.h" |
| 78 #include "gpu/ipc/common/gpu_messages.h" | 78 #include "gpu/ipc/common/gpu_messages.h" |
| 79 #include "net/base/filename_util.h" | 79 #include "net/base/filename_util.h" |
| 80 #include "skia/ext/image_operations.h" | 80 #include "skia/ext/image_operations.h" |
| 81 #include "skia/ext/platform_canvas.h" | 81 #include "skia/ext/platform_canvas.h" |
| 82 #include "storage/browser/fileapi/isolated_context.h" | 82 #include "storage/browser/fileapi/isolated_context.h" |
| 83 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 83 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 84 #include "ui/base/clipboard/clipboard.h" | 84 #include "ui/base/clipboard/clipboard.h" |
| 85 #include "ui/base/ui_base_switches.h" | 85 #include "ui/display/display_switches.h" |
| 86 #include "ui/events/blink/web_input_event_traits.h" | 86 #include "ui/events/blink/web_input_event_traits.h" |
| 87 #include "ui/events/event.h" | 87 #include "ui/events/event.h" |
| 88 #include "ui/events/keycodes/keyboard_codes.h" | 88 #include "ui/events/keycodes/keyboard_codes.h" |
| 89 #include "ui/gfx/color_space.h" | 89 #include "ui/gfx/color_space.h" |
| 90 #include "ui/gfx/geometry/size_conversions.h" | 90 #include "ui/gfx/geometry/size_conversions.h" |
| 91 #include "ui/gfx/geometry/vector2d_conversions.h" | 91 #include "ui/gfx/geometry/vector2d_conversions.h" |
| 92 #include "ui/gfx/image/image.h" | 92 #include "ui/gfx/image/image.h" |
| 93 #include "ui/gfx/image/image_skia.h" | 93 #include "ui/gfx/image/image_skia.h" |
| 94 #include "ui/gfx/skbitmap_operations.h" | 94 #include "ui/gfx/skbitmap_operations.h" |
| 95 #include "ui/snapshot/snapshot.h" | 95 #include "ui/snapshot/snapshot.h" |
| (...skipping 2533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2629 void RenderWidgetHostImpl::RequestCompositionUpdates(bool immediate_request, | 2629 void RenderWidgetHostImpl::RequestCompositionUpdates(bool immediate_request, |
| 2630 bool monitor_updates) { | 2630 bool monitor_updates) { |
| 2631 if (!immediate_request && monitor_updates == monitoring_composition_info_) | 2631 if (!immediate_request && monitor_updates == monitoring_composition_info_) |
| 2632 return; | 2632 return; |
| 2633 monitoring_composition_info_ = monitor_updates; | 2633 monitoring_composition_info_ = monitor_updates; |
| 2634 Send(new InputMsg_RequestCompositionUpdates(routing_id_, immediate_request, | 2634 Send(new InputMsg_RequestCompositionUpdates(routing_id_, immediate_request, |
| 2635 monitor_updates)); | 2635 monitor_updates)); |
| 2636 } | 2636 } |
| 2637 | 2637 |
| 2638 } // namespace content | 2638 } // namespace content |
| OLD | NEW |