| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 class WebColorChooser; | 60 class WebColorChooser; |
| 61 class WebColorChooserClient; | 61 class WebColorChooserClient; |
| 62 class WebContentDecryptionModule; | 62 class WebContentDecryptionModule; |
| 63 class WebCookieJar; | 63 class WebCookieJar; |
| 64 class WebDataSource; | 64 class WebDataSource; |
| 65 class WebDOMEvent; | 65 class WebDOMEvent; |
| 66 class WebExternalPopupMenu; | 66 class WebExternalPopupMenu; |
| 67 class WebExternalPopupMenuClient; | 67 class WebExternalPopupMenuClient; |
| 68 class WebFormElement; | 68 class WebFormElement; |
| 69 class WebGeolocationClient; | 69 class WebGeolocationClient; |
| 70 class WebInputEvent; | |
| 71 class WebMediaPlayer; | 70 class WebMediaPlayer; |
| 72 class WebMediaPlayerClient; | 71 class WebMediaPlayerClient; |
| 73 class WebMIDIClient; | 72 class WebMIDIClient; |
| 74 class WebNotificationPermissionCallback; | 73 class WebNotificationPermissionCallback; |
| 75 class WebNotificationPresenter; | 74 class WebNotificationPresenter; |
| 76 class WebServiceWorkerProvider; | 75 class WebServiceWorkerProvider; |
| 77 class WebServiceWorkerProviderClient; | 76 class WebServiceWorkerProviderClient; |
| 78 class WebSocketHandle; | 77 class WebSocketHandle; |
| 79 class WebNode; | 78 class WebNode; |
| 80 class WebPlugin; | 79 class WebPlugin; |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 // This call is placed here instead of WebPermissionClient because this | 545 // This call is placed here instead of WebPermissionClient because this |
| 547 // class is implemented in content/, and putting it here avoids adding | 546 // class is implemented in content/, and putting it here avoids adding |
| 548 // more public content/ APIs. | 547 // more public content/ APIs. |
| 549 virtual bool allowWebGL(WebLocalFrame*, bool defaultValue) { return defaultV
alue; } | 548 virtual bool allowWebGL(WebLocalFrame*, bool defaultValue) { return defaultV
alue; } |
| 550 | 549 |
| 551 // Notifies the client that a WebGL context was lost on this page with the | 550 // Notifies the client that a WebGL context was lost on this page with the |
| 552 // given reason (one of the GL_ARB_robustness status codes; see | 551 // given reason (one of the GL_ARB_robustness status codes; see |
| 553 // Extensions3D.h in WebCore/platform/graphics). | 552 // Extensions3D.h in WebCore/platform/graphics). |
| 554 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } | 553 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } |
| 555 | 554 |
| 556 // FIXME: Remove this method once we have input routing in the browser | |
| 557 // process. See http://crbug.com/339659. | |
| 558 virtual void forwardInputEvent(const WebInputEvent*) { } | |
| 559 | |
| 560 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 555 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 561 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 556 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 562 | 557 |
| 563 | 558 |
| 564 // Screen Orientation -------------------------------------------------- | 559 // Screen Orientation -------------------------------------------------- |
| 565 | 560 |
| 566 // Access the embedder API for (client-based) screen orientation client . | 561 // Access the embedder API for (client-based) screen orientation client . |
| 567 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 562 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 568 | 563 |
| 569 // Accessibility ------------------------------------------------------- | 564 // Accessibility ------------------------------------------------------- |
| 570 | 565 |
| 571 // Notifies embedder about an accessibility event. | 566 // Notifies embedder about an accessibility event. |
| 572 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | 567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
| 573 | 568 |
| 574 // ServiceWorker ------------------------------------------------------- | 569 // ServiceWorker ------------------------------------------------------- |
| 575 | 570 |
| 576 // Whether the document associated with WebDataSource is controlled by the | 571 // Whether the document associated with WebDataSource is controlled by the |
| 577 // ServiceWorker. | 572 // ServiceWorker. |
| 578 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } | 573 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
| 579 | 574 |
| 580 protected: | 575 protected: |
| 581 virtual ~WebFrameClient() { } | 576 virtual ~WebFrameClient() { } |
| 582 }; | 577 }; |
| 583 | 578 |
| 584 } // namespace blink | 579 } // namespace blink |
| 585 | 580 |
| 586 #endif | 581 #endif |
| OLD | NEW |