| 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 void SetPopupOriginAdjustmentsForEmulation(ScreenMetricsEmulator* emulator); | 210 void SetPopupOriginAdjustmentsForEmulation(ScreenMetricsEmulator* emulator); |
| 211 | 211 |
| 212 void ScheduleCompositeWithForcedRedraw(); | 212 void ScheduleCompositeWithForcedRedraw(); |
| 213 | 213 |
| 214 // Called by the compositor in single-threaded mode when a swap is posted, | 214 // Called by the compositor in single-threaded mode when a swap is posted, |
| 215 // completes or is aborted. | 215 // completes or is aborted. |
| 216 void OnSwapBuffersPosted(); | 216 void OnSwapBuffersPosted(); |
| 217 void OnSwapBuffersComplete(); | 217 void OnSwapBuffersComplete(); |
| 218 void OnSwapBuffersAborted(); | 218 void OnSwapBuffersAborted(); |
| 219 | 219 |
| 220 void OnSelectForSearch(); |
| 221 |
| 220 // Checks if the text input state and compose inline mode have been changed. | 222 // Checks if the text input state and compose inline mode have been changed. |
| 221 // If they are changed, the new value will be sent to the browser process. | 223 // If they are changed, the new value will be sent to the browser process. |
| 222 void UpdateTextInputType(); | 224 void UpdateTextInputType(); |
| 223 | 225 |
| 224 // Checks if the selection bounds have been changed. If they are changed, | 226 // Checks if the selection bounds have been changed. If they are changed, |
| 225 // the new value will be sent to the browser process. | 227 // the new value will be sent to the browser process. |
| 226 void UpdateSelectionBounds(); | 228 void UpdateSelectionBounds(); |
| 227 | 229 |
| 228 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); | 230 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); |
| 229 | 231 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 | 729 |
| 728 ui::MenuSourceType context_menu_source_type_; | 730 ui::MenuSourceType context_menu_source_type_; |
| 729 gfx::Point touch_editing_context_menu_location_; | 731 gfx::Point touch_editing_context_menu_location_; |
| 730 | 732 |
| 731 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 733 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 732 }; | 734 }; |
| 733 | 735 |
| 734 } // namespace content | 736 } // namespace content |
| 735 | 737 |
| 736 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 738 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |