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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 // Tell the browser about the actions permitted for a new touch point. | 523 // Tell the browser about the actions permitted for a new touch point. |
524 virtual void setTouchAction(blink::WebTouchAction touch_action); | 524 virtual void setTouchAction(blink::WebTouchAction touch_action); |
525 | 525 |
526 #if defined(OS_ANDROID) | 526 #if defined(OS_ANDROID) |
527 // Checks if the selection root bounds have changed. If they have changed, the | 527 // Checks if the selection root bounds have changed. If they have changed, the |
528 // new value will be sent to the browser process. | 528 // new value will be sent to the browser process. |
529 virtual void UpdateSelectionRootBounds(); | 529 virtual void UpdateSelectionRootBounds(); |
530 #endif | 530 #endif |
531 | 531 |
532 // Creates a 3D context associated with this view. | 532 // Creates a 3D context associated with this view. |
533 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( | 533 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(); |
534 const blink::WebGraphicsContext3D::Attributes& attributes); | |
535 | 534 |
536 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); | 535 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); |
537 | 536 |
538 // Routing ID that allows us to communicate to the parent browser process | 537 // Routing ID that allows us to communicate to the parent browser process |
539 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. | 538 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. |
540 int32 routing_id_; | 539 int32 routing_id_; |
541 | 540 |
542 int32 surface_id_; | 541 int32 surface_id_; |
543 | 542 |
544 // We are responsible for destroying this object via its Close method. | 543 // We are responsible for destroying this object via its Close method. |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 | 786 |
788 ui::MenuSourceType context_menu_source_type_; | 787 ui::MenuSourceType context_menu_source_type_; |
789 gfx::Point touch_editing_context_menu_location_; | 788 gfx::Point touch_editing_context_menu_location_; |
790 | 789 |
791 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 790 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
792 }; | 791 }; |
793 | 792 |
794 } // namespace content | 793 } // namespace content |
795 | 794 |
796 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 795 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |