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

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

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 3 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
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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 506
507 // Check whether the WebWidget has any touch event handlers registered 507 // Check whether the WebWidget has any touch event handlers registered
508 // at the given point. 508 // at the given point.
509 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; 509 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const;
510 510
511 // Check whether the WebWidget has any touch event handlers registered. 511 // Check whether the WebWidget has any touch event handlers registered.
512 virtual void hasTouchEventHandlers(bool has_handlers); 512 virtual void hasTouchEventHandlers(bool has_handlers);
513 513
514 // Creates a 3D context associated with this view. 514 // Creates a 3D context associated with this view.
515 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( 515 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
516 const WebKit::WebGraphicsContext3D::Attributes& attributes); 516 const WebKit::WebGraphicsContext3D::Attributes& attributes,
517 size_t max_bytes_pending_upload);
517 518
518 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); 519 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap);
519 520
520 // Routing ID that allows us to communicate to the parent browser process 521 // Routing ID that allows us to communicate to the parent browser process
521 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 522 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
522 int32 routing_id_; 523 int32 routing_id_;
523 524
524 int32 surface_id_; 525 int32 surface_id_;
525 526
526 // We are responsible for destroying this object via its Close method. 527 // We are responsible for destroying this object via its Close method.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 #endif 740 #endif
740 741
741 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 742 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
742 743
743 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 744 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
744 }; 745 };
745 746
746 } // namespace content 747 } // namespace content
747 748
748 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 749 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698