| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 int key_modifiers); | 525 int key_modifiers); |
| 526 void OnDragTargetDragOver(const gfx::Point& client_pt, | 526 void OnDragTargetDragOver(const gfx::Point& client_pt, |
| 527 const gfx::Point& screen_pt, | 527 const gfx::Point& screen_pt, |
| 528 blink::WebDragOperationsMask operations_allowed, | 528 blink::WebDragOperationsMask operations_allowed, |
| 529 int key_modifiers); | 529 int key_modifiers); |
| 530 void OnDragTargetDragLeave(); | 530 void OnDragTargetDragLeave(); |
| 531 void OnDragTargetDrop(const DropData& drop_data, | 531 void OnDragTargetDrop(const DropData& drop_data, |
| 532 const gfx::Point& client_pt, | 532 const gfx::Point& client_pt, |
| 533 const gfx::Point& screen_pt, | 533 const gfx::Point& screen_pt, |
| 534 int key_modifiers); | 534 int key_modifiers); |
| 535 void OnDragSourceEnded(const gfx::Point& client_point, |
| 536 const gfx::Point& screen_point, |
| 537 blink::WebDragOperation drag_operation); |
| 538 void OnDragSourceSystemDragEnded(); |
| 535 | 539 |
| 536 #if defined(OS_ANDROID) | 540 #if defined(OS_ANDROID) |
| 537 // Called when we send IME event that expects an ACK. | 541 // Called when we send IME event that expects an ACK. |
| 538 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); | 542 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); |
| 539 | 543 |
| 540 // Called by the browser process for every required IME acknowledgement. | 544 // Called by the browser process for every required IME acknowledgement. |
| 541 void OnImeEventAck(); | 545 void OnImeEventAck(); |
| 542 | 546 |
| 543 // Called by the browser process to update text input state. | 547 // Called by the browser process to update text input state. |
| 544 void OnRequestTextInputStateUpdate(); | 548 void OnRequestTextInputStateUpdate(); |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 // being handled. If the current event results in starting a drag/drop | 863 // being handled. If the current event results in starting a drag/drop |
| 860 // session, this info is sent to the browser along with other drag/drop info. | 864 // session, this info is sent to the browser along with other drag/drop info. |
| 861 DragEventSourceInfo possible_drag_event_info_; | 865 DragEventSourceInfo possible_drag_event_info_; |
| 862 | 866 |
| 863 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 867 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 864 }; | 868 }; |
| 865 | 869 |
| 866 } // namespace content | 870 } // namespace content |
| 867 | 871 |
| 868 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 872 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |