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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
619 const gfx::Point& location); | 619 const gfx::Point& location); |
620 void OnCopyImageAt(int x, int y); | 620 void OnCopyImageAt(int x, int y); |
621 void OnSaveImageAt(int x, int y); | 621 void OnSaveImageAt(int x, int y); |
622 void OnDeterminePageLanguage(); | 622 void OnDeterminePageLanguage(); |
623 void OnDisableScrollbarsForSmallWindows( | 623 void OnDisableScrollbarsForSmallWindows( |
624 const gfx::Size& disable_scrollbars_size_limit); | 624 const gfx::Size& disable_scrollbars_size_limit); |
625 void OnDragSourceEnded(const gfx::Point& client_point, | 625 void OnDragSourceEnded(const gfx::Point& client_point, |
626 const gfx::Point& screen_point, | 626 const gfx::Point& screen_point, |
627 blink::WebDragOperation drag_operation); | 627 blink::WebDragOperation drag_operation); |
628 void OnDragSourceSystemDragEnded(); | 628 void OnDragSourceSystemDragEnded(); |
629 void OnDragTargetDrop(const gfx::Point& client_pt, | 629 // |drop_data| will only be used when drop data is valid. This is |
630 // because on most platforms (Aura), the drop data is available when the drag | |
631 // starts and stays the same until it's dropped. On Android, the drop data is | |
632 // unavailable until DragTargetDrop. So on Android, |drop_data| will contain | |
633 // the real data. | |
634 void OnDragTargetDrop(const content::DropData& drop_data, | |
no sievers
2016/03/08 01:22:16
nit: drop 'content::'
hush (inactive)
2016/03/08 18:43:39
Done.
| |
635 const gfx::Point& client_pt, | |
630 const gfx::Point& screen_pt, | 636 const gfx::Point& screen_pt, |
631 int key_modifiers); | 637 int key_modifiers); |
638 // On Android, |drop_data| will contain dummy data because drop data is | |
639 // unavailable until 'drop' action. | |
632 void OnDragTargetDragEnter(const DropData& drop_data, | 640 void OnDragTargetDragEnter(const DropData& drop_data, |
633 const gfx::Point& client_pt, | 641 const gfx::Point& client_pt, |
634 const gfx::Point& screen_pt, | 642 const gfx::Point& screen_pt, |
635 blink::WebDragOperationsMask operations_allowed, | 643 blink::WebDragOperationsMask operations_allowed, |
636 int key_modifiers); | 644 int key_modifiers); |
637 void OnDragTargetDragLeave(); | 645 void OnDragTargetDragLeave(); |
638 void OnDragTargetDragOver(const gfx::Point& client_pt, | 646 void OnDragTargetDragOver(const gfx::Point& client_pt, |
639 const gfx::Point& screen_pt, | 647 const gfx::Point& screen_pt, |
640 blink::WebDragOperationsMask operations_allowed, | 648 blink::WebDragOperationsMask operations_allowed, |
641 int key_modifiers); | 649 int key_modifiers); |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1017 // use the Observer interface to filter IPC messages and receive frame change | 1025 // use the Observer interface to filter IPC messages and receive frame change |
1018 // notifications. | 1026 // notifications. |
1019 // --------------------------------------------------------------------------- | 1027 // --------------------------------------------------------------------------- |
1020 | 1028 |
1021 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1029 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1022 }; | 1030 }; |
1023 | 1031 |
1024 } // namespace content | 1032 } // namespace content |
1025 | 1033 |
1026 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1034 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |