| 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/renderer_host/render_widget_host_view_views.h" | 5 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "content/public/common/result_codes.h" | 24 #include "content/public/common/result_codes.h" |
| 25 #include "grit/ui_strings.h" | 25 #include "grit/ui_strings.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 28 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact
ory.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact
ory.h" |
| 29 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact
ory.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact
ory.h" |
| 30 #include "ui/base/clipboard/clipboard.h" | 30 #include "ui/base/clipboard/clipboard.h" |
| 31 #include "ui/base/text/text_elider.h" | 31 #include "ui/base/text/text_elider.h" |
| 32 #include "ui/gfx/canvas.h" | 32 #include "ui/gfx/canvas.h" |
| 33 #include "ui/gfx/canvas_skia.h" | 33 #include "ui/gfx/canvas_skia.h" |
| 34 #include "ui/views/events/event.h" |
| 34 #include "ui/views/ime/input_method.h" | 35 #include "ui/views/ime/input_method.h" |
| 35 #include "views/events/event.h" | |
| 36 #include "views/views_delegate.h" | 36 #include "views/views_delegate.h" |
| 37 #include "views/widget/tooltip_manager.h" | 37 #include "views/widget/tooltip_manager.h" |
| 38 #include "views/widget/widget.h" | 38 #include "views/widget/widget.h" |
| 39 | 39 |
| 40 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) | 40 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
| 41 #include "content/browser/renderer_host/accelerated_surface_container_linux.h" | 41 #include "content/browser/renderer_host/accelerated_surface_container_linux.h" |
| 42 #include "ui/gfx/gl/gl_bindings.h" | 42 #include "ui/gfx/gl/gl_bindings.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #if defined(TOOLKIT_USES_GTK) | 45 #if defined(TOOLKIT_USES_GTK) |
| (...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1157 for (std::vector< base::Callback<void(void)> >::const_iterator | 1157 for (std::vector< base::Callback<void(void)> >::const_iterator |
| 1158 it = on_compositing_ended_callbacks_.begin(); | 1158 it = on_compositing_ended_callbacks_.begin(); |
| 1159 it != on_compositing_ended_callbacks_.end(); ++it) { | 1159 it != on_compositing_ended_callbacks_.end(); ++it) { |
| 1160 it->Run(); | 1160 it->Run(); |
| 1161 } | 1161 } |
| 1162 on_compositing_ended_callbacks_.clear(); | 1162 on_compositing_ended_callbacks_.clear(); |
| 1163 compositor->RemoveObserver(this); | 1163 compositor->RemoveObserver(this); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 #endif | 1166 #endif |
| OLD | NEW |