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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use IPC? Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 9fae539faf6e3a97c3198e6d95a3e703202a7982..ae80d1ca6ee76a57b5577eef7c45d9fd83f57b01 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -240,6 +240,7 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// This method is invoked when the renderer has completed its first paint
// after a non-empty layout.
virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) {}
+ virtual void OnSourceFrameNumber(int source_frame_number, int tag) {}
// These two methods correspond to the points in time when the spinner of the
// tab starts and stops spinning.
@@ -332,6 +333,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual void AccessibilityEventReceived(
const std::vector<AXEventNotificationDetails>& details) {}
+ virtual bool DispatchMessageWithSwapFrame(const IPC::Message& message) {}
mkosiba (inactive) 2014/05/06 22:30:33 this is where subclasses from different layers (th
+
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698