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

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

Issue 321373003: Changing animate to beginFrame and use struct rather than naked double to allow extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding another FIXME comment. Created 6 years, 5 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
« no previous file with comments | « Source/web/WebPopupMenuImpl.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual void close() OVERRIDE; 91 virtual void close() OVERRIDE;
92 virtual WebSize size() OVERRIDE; 92 virtual WebSize size() OVERRIDE;
93 virtual void willStartLiveResize() OVERRIDE; 93 virtual void willStartLiveResize() OVERRIDE;
94 virtual void resize(const WebSize&) OVERRIDE; 94 virtual void resize(const WebSize&) OVERRIDE;
95 virtual void resizePinchViewport(const WebSize&) OVERRIDE; 95 virtual void resizePinchViewport(const WebSize&) OVERRIDE;
96 virtual void willEndLiveResize() OVERRIDE; 96 virtual void willEndLiveResize() OVERRIDE;
97 virtual void willEnterFullScreen() OVERRIDE; 97 virtual void willEnterFullScreen() OVERRIDE;
98 virtual void didEnterFullScreen() OVERRIDE; 98 virtual void didEnterFullScreen() OVERRIDE;
99 virtual void willExitFullScreen() OVERRIDE; 99 virtual void willExitFullScreen() OVERRIDE;
100 virtual void didExitFullScreen() OVERRIDE; 100 virtual void didExitFullScreen() OVERRIDE;
101 virtual void animate(double) OVERRIDE; 101
102 virtual void beginFrame(const WebBeginFrameArgs&) OVERRIDE;
103
102 virtual void layout() OVERRIDE; 104 virtual void layout() OVERRIDE;
103 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE; 105 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE;
104 #if OS(ANDROID) 106 #if OS(ANDROID)
105 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; 107 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE;
106 #endif 108 #endif
107 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 109 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
108 virtual bool isTrackingRepaints() const OVERRIDE; 110 virtual bool isTrackingRepaints() const OVERRIDE;
109 virtual void themeChanged() OVERRIDE; 111 virtual void themeChanged() OVERRIDE;
110 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 112 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
111 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; 113 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 bool m_userGestureObserved; 717 bool m_userGestureObserved;
716 }; 718 };
717 719
718 // We have no ways to check if the specified WebView is an instance of 720 // We have no ways to check if the specified WebView is an instance of
719 // WebViewImpl because WebViewImpl is the only implementation of WebView. 721 // WebViewImpl because WebViewImpl is the only implementation of WebView.
720 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 722 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
721 723
722 } // namespace blink 724 } // namespace blink
723 725
724 #endif 726 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPopupMenuImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698