| 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_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 86 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 87 virtual void TextInputStateChanged( | 87 virtual void TextInputStateChanged( |
| 88 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 88 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
| 89 virtual void ImeCancelComposition() OVERRIDE; | 89 virtual void ImeCancelComposition() OVERRIDE; |
| 90 virtual void ImeCompositionRangeChanged( | 90 virtual void ImeCompositionRangeChanged( |
| 91 const ui::Range& range, | 91 const ui::Range& range, |
| 92 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 92 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 93 virtual void DidUpdateBackingStore( | 93 virtual void DidUpdateBackingStore( |
| 94 const gfx::Rect& scroll_rect, | 94 const gfx::Rect& scroll_rect, |
| 95 const gfx::Vector2d& scroll_delta, | 95 const gfx::Vector2d& scroll_delta, |
| 96 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 96 const std::vector<gfx::Rect>& copy_rects, |
| 97 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 97 virtual void RenderViewGone(base::TerminationStatus status, | 98 virtual void RenderViewGone(base::TerminationStatus status, |
| 98 int error_code) OVERRIDE; | 99 int error_code) OVERRIDE; |
| 99 virtual void Destroy() OVERRIDE; | 100 virtual void Destroy() OVERRIDE; |
| 100 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 101 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
| 101 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 102 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 102 virtual void SelectionBoundsChanged( | 103 virtual void SelectionBoundsChanged( |
| 103 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 104 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 104 virtual void ScrollOffsetChanged() OVERRIDE; | 105 virtual void ScrollOffsetChanged() OVERRIDE; |
| 105 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 106 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 106 virtual void CopyFromCompositingSurface( | 107 virtual void CopyFromCompositingSurface( |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 RenderWidgetHostViewPort* platform_view_; | 210 RenderWidgetHostViewPort* platform_view_; |
| 210 #if defined(OS_WIN) || defined(USE_AURA) | 211 #if defined(OS_WIN) || defined(USE_AURA) |
| 211 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 212 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 212 #endif // defined(OS_WIN) || defined(USE_AURA) | 213 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 213 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 214 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 } // namespace content | 217 } // namespace content |
| 217 | 218 |
| 218 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 219 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |