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

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

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Rebased Created 4 years, 2 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) 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 void setZoomFactorForDeviceScaleFactor(float) override; 220 void setZoomFactorForDeviceScaleFactor(float) override;
221 221
222 void setDeviceColorProfile(const WebVector<char>&) override; 222 void setDeviceColorProfile(const WebVector<char>&) override;
223 223
224 void enableAutoResizeMode(const WebSize& minSize, 224 void enableAutoResizeMode(const WebSize& minSize,
225 const WebSize& maxSize) override; 225 const WebSize& maxSize) override;
226 void disableAutoResizeMode() override; 226 void disableAutoResizeMode() override;
227 void performMediaPlayerAction(const WebMediaPlayerAction& action, 227 void performMediaPlayerAction(const WebMediaPlayerAction& action,
228 const WebPoint& location) override; 228 const WebPoint& location) override;
229 void performPluginAction(const WebPluginAction&, const WebPoint&) override; 229 void performPluginAction(const WebPluginAction&, const WebPoint&) override;
230 void audioStateChanged(bool isAudioPlaying) override;
230 WebHitTestResult hitTestResultAt(const WebPoint&) override; 231 WebHitTestResult hitTestResultAt(const WebPoint&) override;
231 WebHitTestResult hitTestResultForTap(const WebPoint&, 232 WebHitTestResult hitTestResultForTap(const WebPoint&,
232 const WebSize&) override; 233 const WebSize&) override;
233 void dragSourceEndedAt(const WebPoint& pointInViewport, 234 void dragSourceEndedAt(const WebPoint& pointInViewport,
234 const WebPoint& screenPoint, 235 const WebPoint& screenPoint,
235 WebDragOperation) override; 236 WebDragOperation) override;
236 void dragSourceSystemDragEnded() override; 237 void dragSourceSystemDragEnded() override;
237 WebDragOperation dragTargetDragEnter(const WebDragData&, 238 WebDragOperation dragTargetDragEnter(const WebDragData&,
238 const WebPoint& pointInViewport, 239 const WebPoint& pointInViewport,
239 const WebPoint& screenPoint, 240 const WebPoint& screenPoint,
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 773 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
773 }; 774 };
774 775
775 // We have no ways to check if the specified WebView is an instance of 776 // We have no ways to check if the specified WebView is an instance of
776 // WebViewImpl because WebViewImpl is the only implementation of WebView. 777 // WebViewImpl because WebViewImpl is the only implementation of WebView.
777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
778 779
779 } // namespace blink 780 } // namespace blink
780 781
781 #endif 782 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698