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

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

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

Powered by Google App Engine
This is Rietveld 408576698