Chromium Code Reviews| Index: public/web/WebViewClient.h |
| =================================================================== |
| --- public/web/WebViewClient.h (revision 157211) |
| +++ public/web/WebViewClient.h (working copy) |
| @@ -152,6 +152,11 @@ |
| // Called by WebHelperPlugin to provide the WebFrameClient interface for the WebFrame. |
| virtual void initializeHelperPluginWebFrame(WebHelperPlugin*) { } |
| + // Called to emulate device. Window should occupy the whole device screen, |
|
pfeldman
2013/09/19 12:46:05
// Called to emulate device dimensions and scale f
dgozman
2013/09/19 13:59:38
Done.
|
| + // while the view should be located at |viewRect|. |
| + virtual void emulateDevice( |
| + bool enabled, const WebSize& deviceSize, const WebRect& viewRect, |
|
apavlov
2013/09/19 12:47:57
perhaps, deviceSize -> screenSize?
dgozman
2013/09/19 13:59:38
Done.
|
| + float deviceScaleFactor, bool fitToView) { } |
| // Navigational -------------------------------------------------------- |