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

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

Issue 20185002: ContextProvider in OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: contextprovider: don't access Context3d() in OutputSurface contructors, it's not bound yet Created 7 years, 4 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 504 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
505 505
506 // Check whether the WebWidget has any touch event handlers registered 506 // Check whether the WebWidget has any touch event handlers registered
507 // at the given point. 507 // at the given point.
508 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; 508 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const;
509 509
510 // Check whether the WebWidget has any touch event handlers registered. 510 // Check whether the WebWidget has any touch event handlers registered.
511 virtual void hasTouchEventHandlers(bool has_handlers); 511 virtual void hasTouchEventHandlers(bool has_handlers);
512 512
513 // Creates a 3D context associated with this view. 513 // Creates a 3D context associated with this view.
514 WebGraphicsContext3DCommandBufferImpl* CreateGraphicsContext3D( 514 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
515 const WebKit::WebGraphicsContext3D::Attributes& attributes); 515 const WebKit::WebGraphicsContext3D::Attributes& attributes);
516 516
517 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); 517 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap);
518 518
519 // Routing ID that allows us to communicate to the parent browser process 519 // Routing ID that allows us to communicate to the parent browser process
520 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 520 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
521 int32 routing_id_; 521 int32 routing_id_;
522 522
523 int32 surface_id_; 523 int32 surface_id_;
524 524
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 #endif 736 #endif
737 737
738 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 738 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
739 739
740 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 740 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
741 }; 741 };
742 742
743 } // namespace content 743 } // namespace content
744 744
745 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 745 #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