| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 // This call is placed here instead of WebContentSettingsClient because this | 562 // This call is placed here instead of WebContentSettingsClient because this |
| 563 // class is implemented in content/, and putting it here avoids adding | 563 // class is implemented in content/, and putting it here avoids adding |
| 564 // more public content/ APIs. | 564 // more public content/ APIs. |
| 565 virtual bool allowWebGL(WebLocalFrame*, bool defaultValue) { return defaultV
alue; } | 565 virtual bool allowWebGL(WebLocalFrame*, bool defaultValue) { return defaultV
alue; } |
| 566 | 566 |
| 567 // Notifies the client that a WebGL context was lost on this page with the | 567 // Notifies the client that a WebGL context was lost on this page with the |
| 568 // given reason (one of the GL_ARB_robustness status codes; see | 568 // given reason (one of the GL_ARB_robustness status codes; see |
| 569 // Extensions3D.h in WebCore/platform/graphics). | 569 // Extensions3D.h in WebCore/platform/graphics). |
| 570 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } | 570 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } |
| 571 | 571 |
| 572 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | |
| 573 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | |
| 574 | |
| 575 | 572 |
| 576 // Screen Orientation -------------------------------------------------- | 573 // Screen Orientation -------------------------------------------------- |
| 577 | 574 |
| 578 // Access the embedder API for (client-based) screen orientation client . | 575 // Access the embedder API for (client-based) screen orientation client . |
| 579 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 576 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 580 | 577 |
| 581 | 578 |
| 582 // Accessibility ------------------------------------------------------- | 579 // Accessibility ------------------------------------------------------- |
| 583 | 580 |
| 584 // Notifies embedder about an accessibility event. | 581 // Notifies embedder about an accessibility event. |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 // WebUSB -------------------------------------------------------------- | 662 // WebUSB -------------------------------------------------------------- |
| 666 virtual WebUSBClient* usbClient() { return nullptr; } | 663 virtual WebUSBClient* usbClient() { return nullptr; } |
| 667 | 664 |
| 668 protected: | 665 protected: |
| 669 virtual ~WebFrameClient() { } | 666 virtual ~WebFrameClient() { } |
| 670 }; | 667 }; |
| 671 | 668 |
| 672 } // namespace blink | 669 } // namespace blink |
| 673 | 670 |
| 674 #endif | 671 #endif |
| OLD | NEW |