| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| 7 | 7 |
| 8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 84 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 85 virtual void TextInputStateChanged( | 85 virtual void TextInputStateChanged( |
| 86 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 86 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
| 87 virtual void ImeCancelComposition() OVERRIDE; | 87 virtual void ImeCancelComposition() OVERRIDE; |
| 88 virtual void ImeCompositionRangeChanged( | 88 virtual void ImeCompositionRangeChanged( |
| 89 const ui::Range& range, | 89 const ui::Range& range, |
| 90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 91 virtual void DidUpdateBackingStore( | 91 virtual void DidUpdateBackingStore( |
| 92 const gfx::Rect& scroll_rect, | 92 const gfx::Rect& scroll_rect, |
| 93 const gfx::Vector2d& scroll_delta, | 93 const gfx::Vector2d& scroll_delta, |
| 94 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 94 const std::vector<gfx::Rect>& copy_rects, |
| 95 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 95 virtual void RenderViewGone(base::TerminationStatus status, | 96 virtual void RenderViewGone(base::TerminationStatus status, |
| 96 int error_code) OVERRIDE; | 97 int error_code) OVERRIDE; |
| 97 virtual void Destroy() OVERRIDE; | 98 virtual void Destroy() OVERRIDE; |
| 98 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 99 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
| 99 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 100 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 100 virtual void SelectionChanged(const string16& text, | 101 virtual void SelectionChanged(const string16& text, |
| 101 size_t offset, | 102 size_t offset, |
| 102 const ui::Range& range) OVERRIDE; | 103 const ui::Range& range) OVERRIDE; |
| 103 virtual void SelectionBoundsChanged( | 104 virtual void SelectionBoundsChanged( |
| 104 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 105 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 328 |
| 328 // The event for the last mouse down we handled. We need this for context | 329 // The event for the last mouse down we handled. We need this for context |
| 329 // menus and drags. | 330 // menus and drags. |
| 330 GdkEventButton* last_mouse_down_; | 331 GdkEventButton* last_mouse_down_; |
| 331 | 332 |
| 332 // Instance of accessibility information for the root of the AtkObject | 333 // Instance of accessibility information for the root of the AtkObject |
| 333 // tree representation of the WebKit render tree. | 334 // tree representation of the WebKit render tree. |
| 334 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 335 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 335 | 336 |
| 336 ui::GtkSignalRegistrar signals_; | 337 ui::GtkSignalRegistrar signals_; |
| 338 |
| 339 ui::LatencyInfo software_latency_info_; |
| 337 }; | 340 }; |
| 338 | 341 |
| 339 } // namespace content | 342 } // namespace content |
| 340 | 343 |
| 341 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 344 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |