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); |
534 | 535 |
535 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); | 536 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); |
536 | 537 |
537 // Routing ID that allows us to communicate to the parent browser process | 538 // Routing ID that allows us to communicate to the parent browser process |
538 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. | 539 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. |
539 int32 routing_id_; | 540 int32 routing_id_; |
540 | 541 |
541 int32 surface_id_; | 542 int32 surface_id_; |
542 | 543 |
543 // We are responsible for destroying this object via its Close method. | 544 // We are responsible for destroying this object via its Close method. |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 | 787 |
787 ui::MenuSourceType context_menu_source_type_; | 788 ui::MenuSourceType context_menu_source_type_; |
788 gfx::Point touch_editing_context_menu_location_; | 789 gfx::Point touch_editing_context_menu_location_; |
789 | 790 |
790 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 791 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
791 }; | 792 }; |
792 | 793 |
793 } // namespace content | 794 } // namespace content |
794 | 795 |
795 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 796 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |