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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Export CompositorAnimator Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 Frame* focusedCoreFrame() const; 127 Frame* focusedCoreFrame() const;
128 128
129 // Returns the currently focused Element or null if no element has focus. 129 // Returns the currently focused Element or null if no element has focus.
130 Element* focusedElement() const; 130 Element* focusedElement() const;
131 131
132 PaintLayerCompositor* compositor() const; 132 PaintLayerCompositor* compositor() const;
133 133
134 // WebFrameWidgetBase overrides: 134 // WebFrameWidgetBase overrides:
135 bool forSubframe() const override { return true; } 135 bool forSubframe() const override { return true; }
136 void scheduleAnimation() override; 136 void scheduleAnimation() override;
137 CompositorProxyClient* createCompositorProxyClient() override; 137 CompositorProxyClient* createCompositorProxyClient(
138 CompositorProxyClient::Type) override;
138 WebWidgetClient* client() const override { return m_client; } 139 WebWidgetClient* client() const override { return m_client; }
139 void setRootGraphicsLayer(GraphicsLayer*) override; 140 void setRootGraphicsLayer(GraphicsLayer*) override;
140 void setRootLayer(WebLayer*) override; 141 void setRootLayer(WebLayer*) override;
141 WebLayerTreeView* getLayerTreeView() const override; 142 WebLayerTreeView* getLayerTreeView() const override;
142 CompositorAnimationHost* animationHost() const override; 143 CompositorAnimationHost* animationHost() const override;
143 HitTestResult coreHitTestResultAt(const WebPoint&) override; 144 HitTestResult coreHitTestResultAt(const WebPoint&) override;
144 145
145 // Exposed for the purpose of overriding device metrics. 146 // Exposed for the purpose of overriding device metrics.
146 void sendResizeEventAndRepaint(); 147 void sendResizeEventAndRepaint();
147 148
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 239
239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 240 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
240 WebFrameWidgetBase, 241 WebFrameWidgetBase,
241 widget, 242 widget,
242 widget->forSubframe(), 243 widget->forSubframe(),
243 widget.forSubframe()); 244 widget.forSubframe());
244 245
245 } // namespace blink 246 } // namespace blink
246 247
247 #endif 248 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698