OLD | NEW |
---|---|
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
292 // and the minimum height required to display the main document without scro llbars. | 292 // and the minimum height required to display the main document without scro llbars. |
293 // The returned size has the page zoom factor applied. | 293 // The returned size has the page zoom factor applied. |
294 virtual WebSize contentsPreferredMinimumSize() = 0; | 294 virtual WebSize contentsPreferredMinimumSize() = 0; |
295 | 295 |
296 // The ratio of the current device's screen DPI to the target device's scree n DPI. | 296 // The ratio of the current device's screen DPI to the target device's scree n DPI. |
297 virtual float deviceScaleFactor() const = 0; | 297 virtual float deviceScaleFactor() const = 0; |
298 | 298 |
299 // Sets the ratio as computed by computePageScaleConstraints. | 299 // Sets the ratio as computed by computePageScaleConstraints. |
300 virtual void setDeviceScaleFactor(float) = 0; | 300 virtual void setDeviceScaleFactor(float) = 0; |
301 | 301 |
302 // The color profile of the display has changed. | |
303 virtual void deviceColorProfileChanged(const char* profile, size_t) = 0; | |
eseidel
2014/05/07 17:14:59
I would expect we'd use a WebData or some other mo
| |
302 | 304 |
303 // Fixed Layout -------------------------------------------------------- | 305 // Fixed Layout -------------------------------------------------------- |
304 | 306 |
305 // Locks main frame's layout size to specified size. Passing WebSize(0, 0) | 307 // Locks main frame's layout size to specified size. Passing WebSize(0, 0) |
306 // removes the lock. | 308 // removes the lock. |
307 virtual void setFixedLayoutSize(const WebSize&) = 0; | 309 virtual void setFixedLayoutSize(const WebSize&) = 0; |
308 | 310 |
309 | 311 |
310 // Auto-Resize ----------------------------------------------------------- | 312 // Auto-Resize ----------------------------------------------------------- |
311 | 313 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
501 | 503 |
502 // Testing functionality for TestRunner --------------------------------- | 504 // Testing functionality for TestRunner --------------------------------- |
503 | 505 |
504 protected: | 506 protected: |
505 ~WebView() {} | 507 ~WebView() {} |
506 }; | 508 }; |
507 | 509 |
508 } // namespace blink | 510 } // namespace blink |
509 | 511 |
510 #endif | 512 #endif |
OLD | NEW |