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

Side by Side Diff: sky/engine/public/web/WebView.h

Issue 689373003: Remove most of the media stack. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class WebFrameClient; 44 class WebFrameClient;
45 class WebGraphicsContext3D; 45 class WebGraphicsContext3D;
46 class WebHitTestResult; 46 class WebHitTestResult;
47 class WebNode; 47 class WebNode;
48 class WebRange; 48 class WebRange;
49 class WebSettings; 49 class WebSettings;
50 class WebSpellCheckClient; 50 class WebSpellCheckClient;
51 class WebString; 51 class WebString;
52 class WebViewClient; 52 class WebViewClient;
53 struct WebActiveWheelFlingParameters; 53 struct WebActiveWheelFlingParameters;
54 struct WebMediaPlayerAction;
55 struct WebPoint; 54 struct WebPoint;
56 struct WebFloatPoint; 55 struct WebFloatPoint;
57 56
58 class WebView : public WebWidget { 57 class WebView : public WebWidget {
59 public: 58 public:
60 BLINK_EXPORT static const double textSizeMultiplierRatio; 59 BLINK_EXPORT static const double textSizeMultiplierRatio;
61 BLINK_EXPORT static const double minTextSizeMultiplier; 60 BLINK_EXPORT static const double minTextSizeMultiplier;
62 BLINK_EXPORT static const double maxTextSizeMultiplier; 61 BLINK_EXPORT static const double maxTextSizeMultiplier;
63 62
64 // Initialization ------------------------------------------------------ 63 // Initialization ------------------------------------------------------
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Sets the ratio as computed by computePageScaleConstraints. 211 // Sets the ratio as computed by computePageScaleConstraints.
213 virtual void setDeviceScaleFactor(float) = 0; 212 virtual void setDeviceScaleFactor(float) = 0;
214 213
215 214
216 // Fixed Layout -------------------------------------------------------- 215 // Fixed Layout --------------------------------------------------------
217 216
218 // Locks main frame's layout size to specified size. Passing WebSize(0, 0) 217 // Locks main frame's layout size to specified size. Passing WebSize(0, 0)
219 // removes the lock. 218 // removes the lock.
220 virtual void setFixedLayoutSize(const WebSize&) = 0; 219 virtual void setFixedLayoutSize(const WebSize&) = 0;
221 220
222
223 // Media ---------------------------------------------------------------
224
225 // Performs the specified media player action on the node at the given locat ion.
226 virtual void performMediaPlayerAction(
227 const WebMediaPlayerAction&, const WebPoint& location) = 0;
228
229
230 // Data exchange ------------------------------------------------------- 221 // Data exchange -------------------------------------------------------
231 222
232 // Do a hit test at given point and return the HitTestResult. 223 // Do a hit test at given point and return the HitTestResult.
233 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; 224 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0;
234 225
235 // Copy to the clipboard the image located at a particular point in the 226 // Copy to the clipboard the image located at a particular point in the
236 // WebView (if there is such an image) 227 // WebView (if there is such an image)
237 virtual void copyImageAt(const WebPoint&) = 0; 228 virtual void copyImageAt(const WebPoint&) = 0;
238 229
239 // Save as the image located at a particular point in the 230 // Save as the image located at a particular point in the
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 292
302 // Testing functionality for TestRunner --------------------------------- 293 // Testing functionality for TestRunner ---------------------------------
303 294
304 protected: 295 protected:
305 ~WebView() {} 296 ~WebView() {}
306 }; 297 };
307 298
308 } // namespace blink 299 } // namespace blink
309 300
310 #endif 301 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebRuntimeFeatures.h ('k') | sky/engine/testing/platform/webmimeregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698