Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: content/renderer/render_widget.h

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/gpu/mailbox_output_surface.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 474 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
475 475
476 // Check whether the WebWidget has any touch event handlers registered 476 // Check whether the WebWidget has any touch event handlers registered
477 // at the given point. 477 // at the given point.
478 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; 478 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const;
479 479
480 // Check whether the WebWidget has any touch event handlers registered. 480 // Check whether the WebWidget has any touch event handlers registered.
481 virtual void hasTouchEventHandlers(bool has_handlers); 481 virtual void hasTouchEventHandlers(bool has_handlers);
482 482
483 // Creates a 3D context associated with this view. 483 // Creates a 3D context associated with this view.
484 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( 484 WebGraphicsContext3DCommandBufferImpl* CreateGraphicsContext3D(
485 const WebKit::WebGraphicsContext3D::Attributes& attributes); 485 const WebKit::WebGraphicsContext3D::Attributes& attributes);
486 486
487 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); 487 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap);
488 488
489 // Routing ID that allows us to communicate to the parent browser process 489 // Routing ID that allows us to communicate to the parent browser process
490 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 490 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
491 int32 routing_id_; 491 int32 routing_id_;
492 492
493 int32 surface_id_; 493 int32 surface_id_;
494 494
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 bool is_threaded_compositing_enabled_; 692 bool is_threaded_compositing_enabled_;
693 693
694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
695 695
696 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 696 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
697 }; 697 };
698 698
699 } // namespace content 699 } // namespace content
700 700
701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/mailbox_output_surface.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698