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

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

Issue 11796003: Remove RenderWidget::WebWidgetHandlesCompositorScheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: check for web_layer_tree_view_ in scheduleComposite since RenderWidgetFullscreenPepper is composite… Created 7 years, 11 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_view_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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} 438 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
439 439
440 // Called by OnHandleInputEvent() to notify subclasses that a touch event was 440 // Called by OnHandleInputEvent() to notify subclasses that a touch event was
441 // just handled. 441 // just handled.
442 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} 442 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
443 443
444 // Check whether the WebWidget has any touch event handlers registered 444 // Check whether the WebWidget has any touch event handlers registered
445 // at the given point. 445 // at the given point.
446 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; 446 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const;
447 447
448 // Should return true if the underlying WebWidget is responsible for
449 // the scheduling of compositing requests.
450 virtual bool WebWidgetHandlesCompositorScheduling() const;
451
452 // Routing ID that allows us to communicate to the parent browser process 448 // Routing ID that allows us to communicate to the parent browser process
453 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 449 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
454 int32 routing_id_; 450 int32 routing_id_;
455 451
456 int32 surface_id_; 452 int32 surface_id_;
457 453
458 // We are responsible for destroying this object via its Close method. 454 // We are responsible for destroying this object via its Close method.
459 WebKit::WebWidget* webwidget_; 455 WebKit::WebWidget* webwidget_;
460 456
461 // This is lazily constructed and must not outlive webwidget_. 457 // This is lazily constructed and must not outlive webwidget_.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 635
640 // Specified whether the compositor will run in its own thread. 636 // Specified whether the compositor will run in its own thread.
641 bool is_threaded_compositing_enabled_; 637 bool is_threaded_compositing_enabled_;
642 638
643 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 639 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
644 }; 640 };
645 641
646 } // namespace content 642 } // namespace content
647 643
648 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 644 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698