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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 virtual void OnDeviceScaleFactorChanged(); | 523 virtual void OnDeviceScaleFactorChanged(); |
524 | 524 |
525 void OnRepaint(gfx::Size size_to_paint); | 525 void OnRepaint(gfx::Size size_to_paint); |
526 void OnSyntheticGestureCompleted(); | 526 void OnSyntheticGestureCompleted(); |
527 void OnSetTextDirection(blink::WebTextDirection direction); | 527 void OnSetTextDirection(blink::WebTextDirection direction); |
528 void OnGetFPS(); | 528 void OnGetFPS(); |
529 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 529 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
530 const gfx::Rect& window_screen_rect); | 530 const gfx::Rect& window_screen_rect); |
531 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); | 531 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); |
532 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); | 532 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); |
| 533 void OnSetIsInert(bool); |
533 // Real data that is dragged is not included at DragEnter time. | 534 // Real data that is dragged is not included at DragEnter time. |
534 void OnDragTargetDragEnter( | 535 void OnDragTargetDragEnter( |
535 const std::vector<DropData::Metadata>& drop_meta_data, | 536 const std::vector<DropData::Metadata>& drop_meta_data, |
536 const gfx::Point& client_pt, | 537 const gfx::Point& client_pt, |
537 const gfx::Point& screen_pt, | 538 const gfx::Point& screen_pt, |
538 blink::WebDragOperationsMask operations_allowed, | 539 blink::WebDragOperationsMask operations_allowed, |
539 int key_modifiers); | 540 int key_modifiers); |
540 void OnDragTargetDragOver(const gfx::Point& client_pt, | 541 void OnDragTargetDragOver(const gfx::Point& client_pt, |
541 const gfx::Point& screen_pt, | 542 const gfx::Point& screen_pt, |
542 blink::WebDragOperationsMask operations_allowed, | 543 blink::WebDragOperationsMask operations_allowed, |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
885 scoped_refptr<MainThreadEventQueue> input_event_queue_; | 886 scoped_refptr<MainThreadEventQueue> input_event_queue_; |
886 | 887 |
887 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 888 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
888 | 889 |
889 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 890 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
890 }; | 891 }; |
891 | 892 |
892 } // namespace content | 893 } // namespace content |
893 | 894 |
894 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 895 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |