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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void WasShown() OVERRIDE; | 78 virtual void WasShown() OVERRIDE; |
79 virtual void WasHidden() OVERRIDE; | 79 virtual void WasHidden() OVERRIDE; |
80 virtual void MovePluginWindows( | 80 virtual void MovePluginWindows( |
81 const gfx::Vector2d& scroll_offset, | 81 const gfx::Vector2d& scroll_offset, |
82 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 82 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
83 virtual void Focus() OVERRIDE; | 83 virtual void Focus() OVERRIDE; |
84 virtual void Blur() OVERRIDE; | 84 virtual void Blur() OVERRIDE; |
85 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 85 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
86 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 86 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
87 virtual void TextInputTypeChanged(ui::TextInputType type, | 87 virtual void TextInputTypeChanged(ui::TextInputType type, |
88 bool can_compose_inline, | 88 ui::TextInputMode input_mode, |
89 ui::TextInputMode input_mode) OVERRIDE; | 89 bool can_compose_inline) OVERRIDE; |
90 virtual void ImeCancelComposition() OVERRIDE; | 90 virtual void ImeCancelComposition() OVERRIDE; |
91 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 91 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
92 virtual void ImeCompositionRangeChanged( | 92 virtual void ImeCompositionRangeChanged( |
93 const ui::Range& range, | 93 const ui::Range& range, |
94 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 94 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
95 #endif | 95 #endif |
96 virtual void DidUpdateBackingStore( | 96 virtual void DidUpdateBackingStore( |
97 const gfx::Rect& scroll_rect, | 97 const gfx::Rect& scroll_rect, |
98 const gfx::Vector2d& scroll_delta, | 98 const gfx::Vector2d& scroll_delta, |
99 const std::vector<gfx::Rect>& copy_rects, | 99 const std::vector<gfx::Rect>& copy_rects, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 RenderWidgetHostViewPort* platform_view_; | 218 RenderWidgetHostViewPort* platform_view_; |
219 #if defined(OS_WIN) || defined(USE_AURA) | 219 #if defined(OS_WIN) || defined(USE_AURA) |
220 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 220 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
221 #endif // defined(OS_WIN) || defined(USE_AURA) | 221 #endif // defined(OS_WIN) || defined(USE_AURA) |
222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
223 }; | 223 }; |
224 | 224 |
225 } // namespace content | 225 } // namespace content |
226 | 226 |
227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |