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

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

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