Chromium Code Reviews| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 501 void OnRepaint(gfx::Size size_to_paint); | 501 void OnRepaint(gfx::Size size_to_paint); |
| 502 void OnSyntheticGestureCompleted(); | 502 void OnSyntheticGestureCompleted(); |
| 503 void OnSetTextDirection(blink::WebTextDirection direction); | 503 void OnSetTextDirection(blink::WebTextDirection direction); |
| 504 void OnGetFPS(); | 504 void OnGetFPS(); |
| 505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
| 506 const gfx::Rect& window_screen_rect); | 506 const gfx::Rect& window_screen_rect); |
| 507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
| 508 void OnShowImeIfNeeded(); | 508 void OnShowImeIfNeeded(); |
| 509 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); | 509 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); |
| 510 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); | 510 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); |
| 511 void OnFormTextInputInfoRequested(int request_id); | |
|
David Trainor- moved to gerrit
2016/10/26 01:36:42
Can we call this (and all associated methods/messa
shaktisahu
2016/10/31 23:13:59
Sounds good. I am adding a struct FormFieldData in
| |
| 511 | 512 |
| 512 #if defined(OS_ANDROID) | 513 #if defined(OS_ANDROID) |
| 513 // Called when we send IME event that expects an ACK. | 514 // Called when we send IME event that expects an ACK. |
| 514 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 515 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
| 515 | 516 |
| 516 // Called by the browser process for every required IME acknowledgement. | 517 // Called by the browser process for every required IME acknowledgement. |
| 517 void OnImeEventAck(); | 518 void OnImeEventAck(); |
| 518 | 519 |
| 519 // Called by the browser process to update text input state. | 520 // Called by the browser process to update text input state. |
| 520 void OnRequestTextInputStateUpdate(); | 521 void OnRequestTextInputStateUpdate(); |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 828 // Stores edit commands associated to the next key event. | 829 // Stores edit commands associated to the next key event. |
| 829 // Will be cleared as soon as the next key event is processed. | 830 // Will be cleared as soon as the next key event is processed. |
| 830 EditCommands edit_commands_; | 831 EditCommands edit_commands_; |
| 831 | 832 |
| 832 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 833 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 833 }; | 834 }; |
| 834 | 835 |
| 835 } // namespace content | 836 } // namespace content |
| 836 | 837 |
| 837 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 838 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |