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

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

Issue 2483843002: Revert of [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 void setZoomFactorForDeviceScaleFactor(float) override; 219 void setZoomFactorForDeviceScaleFactor(float) override;
220 220
221 void setDeviceColorProfile(const WebVector<char>&) override; 221 void setDeviceColorProfile(const WebVector<char>&) override;
222 222
223 void enableAutoResizeMode(const WebSize& minSize, 223 void enableAutoResizeMode(const WebSize& minSize,
224 const WebSize& maxSize) override; 224 const WebSize& maxSize) override;
225 void disableAutoResizeMode() override; 225 void disableAutoResizeMode() override;
226 void performMediaPlayerAction(const WebMediaPlayerAction& action, 226 void performMediaPlayerAction(const WebMediaPlayerAction& action,
227 const WebPoint& location) override; 227 const WebPoint& location) override;
228 void performPluginAction(const WebPluginAction&, const WebPoint&) override; 228 void performPluginAction(const WebPluginAction&, const WebPoint&) override;
229 void audioStateChanged(bool isAudioPlaying) override;
230 WebHitTestResult hitTestResultAt(const WebPoint&) override; 229 WebHitTestResult hitTestResultAt(const WebPoint&) override;
231 WebHitTestResult hitTestResultForTap(const WebPoint&, 230 WebHitTestResult hitTestResultForTap(const WebPoint&,
232 const WebSize&) override; 231 const WebSize&) override;
233 void dragSourceEndedAt(const WebPoint& pointInViewport, 232 void dragSourceEndedAt(const WebPoint& pointInViewport,
234 const WebPoint& screenPoint, 233 const WebPoint& screenPoint,
235 WebDragOperation) override; 234 WebDragOperation) override;
236 void dragSourceSystemDragEnded() override; 235 void dragSourceSystemDragEnded() override;
237 WebDragOperation dragTargetDragEnter(const WebDragData&, 236 WebDragOperation dragTargetDragEnter(const WebDragData&,
238 const WebPoint& pointInViewport, 237 const WebPoint& pointInViewport,
239 const WebPoint& screenPoint, 238 const WebPoint& screenPoint,
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 761 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
763 }; 762 };
764 763
765 // We have no ways to check if the specified WebView is an instance of 764 // We have no ways to check if the specified WebView is an instance of
766 // WebViewImpl because WebViewImpl is the only implementation of WebView. 765 // WebViewImpl because WebViewImpl is the only implementation of WebView.
767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
768 767
769 } // namespace blink 768 } // namespace blink
770 769
771 #endif 770 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698