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

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

Issue 199443004: gpu: Raise GL_OUT_OF_MEMORY when BeginQueryEXT fails to allocate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: checkmem: benchmark Created 6 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/render_thread_impl.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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698