| 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_gtk.h" |     5 #include "content/browser/renderer_host/render_widget_host_view_gtk.h" | 
|     6  |     6  | 
|     7 #include <cairo/cairo.h> |     7 #include <cairo/cairo.h> | 
|     8 #include <gdk/gdk.h> |     8 #include <gdk/gdk.h> | 
|     9 #include <gdk/gdkkeysyms.h> |     9 #include <gdk/gdkkeysyms.h> | 
|    10 #include <gdk/gdkx.h> |    10 #include <gdk/gdkx.h> | 
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   832  |   832  | 
|   833 void RenderWidgetHostViewGtk::SetIsLoading(bool is_loading) { |   833 void RenderWidgetHostViewGtk::SetIsLoading(bool is_loading) { | 
|   834   is_loading_ = is_loading; |   834   is_loading_ = is_loading; | 
|   835   // Only call ShowCurrentCursor() when it will actually change the cursor. |   835   // Only call ShowCurrentCursor() when it will actually change the cursor. | 
|   836   if (current_cursor_.GetCursorType() == GDK_LAST_CURSOR) |   836   if (current_cursor_.GetCursorType() == GDK_LAST_CURSOR) | 
|   837     ShowCurrentCursor(); |   837     ShowCurrentCursor(); | 
|   838 } |   838 } | 
|   839  |   839  | 
|   840 void RenderWidgetHostViewGtk::TextInputTypeChanged( |   840 void RenderWidgetHostViewGtk::TextInputTypeChanged( | 
|   841     ui::TextInputType type, |   841     ui::TextInputType type, | 
|   842     bool can_compose_inline, |   842     ui::TextInputMode input_mode, | 
|   843     ui::TextInputMode input_mode) { |   843     bool can_compose_inline) { | 
|   844   im_context_->UpdateInputMethodState(type, can_compose_inline); |   844   im_context_->UpdateInputMethodState(type, can_compose_inline); | 
|   845 } |   845 } | 
|   846  |   846  | 
|   847 void RenderWidgetHostViewGtk::ImeCancelComposition() { |   847 void RenderWidgetHostViewGtk::ImeCancelComposition() { | 
|   848   im_context_->CancelComposition(); |   848   im_context_->CancelComposition(); | 
|   849 } |   849 } | 
|   850  |   850  | 
|   851 void RenderWidgetHostViewGtk::DidUpdateBackingStore( |   851 void RenderWidgetHostViewGtk::DidUpdateBackingStore( | 
|   852     const gfx::Rect& scroll_rect, |   852     const gfx::Rect& scroll_rect, | 
|   853     const gfx::Vector2d& scroll_delta, |   853     const gfx::Vector2d& scroll_delta, | 
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1577     gfx::PluginWindowHandle id) { |  1577     gfx::PluginWindowHandle id) { | 
|  1578   plugin_container_manager_.CreatePluginContainer(id); |  1578   plugin_container_manager_.CreatePluginContainer(id); | 
|  1579 } |  1579 } | 
|  1580  |  1580  | 
|  1581 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( |  1581 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( | 
|  1582     gfx::PluginWindowHandle id) { |  1582     gfx::PluginWindowHandle id) { | 
|  1583   plugin_container_manager_.DestroyPluginContainer(id); |  1583   plugin_container_manager_.DestroyPluginContainer(id); | 
|  1584 } |  1584 } | 
|  1585  |  1585  | 
|  1586 }  // namespace content |  1586 }  // namespace content | 
| OLD | NEW |