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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 516103003: scheduler: Tell the scheduler about frame timing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Still need to keep animate() around. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/scheduler/Scheduler.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void close() OVERRIDE; 89 virtual void close() OVERRIDE;
90 virtual WebSize size() OVERRIDE; 90 virtual WebSize size() OVERRIDE;
91 virtual void willStartLiveResize() OVERRIDE; 91 virtual void willStartLiveResize() OVERRIDE;
92 virtual void resize(const WebSize&) OVERRIDE; 92 virtual void resize(const WebSize&) OVERRIDE;
93 virtual void resizePinchViewport(const WebSize&) OVERRIDE; 93 virtual void resizePinchViewport(const WebSize&) OVERRIDE;
94 virtual void willEndLiveResize() OVERRIDE; 94 virtual void willEndLiveResize() OVERRIDE;
95 virtual void didEnterFullScreen() OVERRIDE; 95 virtual void didEnterFullScreen() OVERRIDE;
96 virtual void didExitFullScreen() OVERRIDE; 96 virtual void didExitFullScreen() OVERRIDE;
97 97
98 virtual void beginFrame(const WebBeginFrameArgs&) OVERRIDE; 98 virtual void beginFrame(const WebBeginFrameArgs&) OVERRIDE;
99 virtual void didCommitFrameToCompositor() OVERRIDE;
99 100
100 virtual void layout() OVERRIDE; 101 virtual void layout() OVERRIDE;
101 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE; 102 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE;
102 #if OS(ANDROID) 103 #if OS(ANDROID)
103 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; 104 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE;
104 #endif 105 #endif
105 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 106 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
106 virtual bool isTrackingRepaints() const OVERRIDE; 107 virtual bool isTrackingRepaints() const OVERRIDE;
107 virtual void themeChanged() OVERRIDE; 108 virtual void themeChanged() OVERRIDE;
108 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 bool m_userGestureObserved; 715 bool m_userGestureObserved;
715 }; 716 };
716 717
717 // We have no ways to check if the specified WebView is an instance of 718 // We have no ways to check if the specified WebView is an instance of
718 // WebViewImpl because WebViewImpl is the only implementation of WebView. 719 // WebViewImpl because WebViewImpl is the only implementation of WebView.
719 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 720 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
720 721
721 } // namespace blink 722 } // namespace blink
722 723
723 #endif 724 #endif
OLDNEW
« no previous file with comments | « Source/platform/scheduler/Scheduler.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698