| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_RENDER_WIDGET_H__ | 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H__ |
| 6 #define CHROME_RENDERER_RENDER_WIDGET_H__ | 6 #define CHROME_RENDERER_RENDER_WIDGET_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gfx/native_widget_types.h" | 10 #include "base/gfx/native_widget_types.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void OnPaintRectAck(); | 126 void OnPaintRectAck(); |
| 127 void OnScrollRectAck(); | 127 void OnScrollRectAck(); |
| 128 void OnHandleInputEvent(const IPC::Message& message); | 128 void OnHandleInputEvent(const IPC::Message& message); |
| 129 void OnMouseCaptureLost(); | 129 void OnMouseCaptureLost(); |
| 130 void OnSetFocus(bool enable); | 130 void OnSetFocus(bool enable); |
| 131 void OnImeSetInputMode(bool is_active); | 131 void OnImeSetInputMode(bool is_active); |
| 132 void OnImeSetComposition(int string_type, int cursor_position, | 132 void OnImeSetComposition(int string_type, int cursor_position, |
| 133 int target_start, int target_end, | 133 int target_start, int target_end, |
| 134 const std::wstring& ime_string); | 134 const std::wstring& ime_string); |
| 135 void OnMsgRepaint(const gfx::Size& size_to_paint); | 135 void OnMsgRepaint(const gfx::Size& size_to_paint); |
| 136 void OnSetTextDirection(int direction); |
| 136 | 137 |
| 137 // True if a PaintRect_ACK message is pending. | 138 // True if a PaintRect_ACK message is pending. |
| 138 bool paint_reply_pending() const { | 139 bool paint_reply_pending() const { |
| 139 return paint_reply_pending_; | 140 return paint_reply_pending_; |
| 140 } | 141 } |
| 141 | 142 |
| 142 // True if a ScrollRect_ACK message is pending. | 143 // True if a ScrollRect_ACK message is pending. |
| 143 bool scroll_reply_pending() const { | 144 bool scroll_reply_pending() const { |
| 144 return current_scroll_buf_ != NULL; | 145 return current_scroll_buf_ != NULL; |
| 145 } | 146 } |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // Whether the window for this RenderWidget can be activated. | 261 // Whether the window for this RenderWidget can be activated. |
| 261 bool activatable_; | 262 bool activatable_; |
| 262 | 263 |
| 263 // Holds all the needed plugin window moves for a scroll. | 264 // Holds all the needed plugin window moves for a scroll. |
| 264 std::vector<WebPluginGeometry> plugin_window_moves_; | 265 std::vector<WebPluginGeometry> plugin_window_moves_; |
| 265 | 266 |
| 266 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget); | 267 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget); |
| 267 }; | 268 }; |
| 268 | 269 |
| 269 #endif // CHROME_RENDERER_RENDER_WIDGET_H__ | 270 #endif // CHROME_RENDERER_RENDER_WIDGET_H__ |
| OLD | NEW |