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 WebColorChooserClient; | 60 class WebColorChooserClient; |
61 class WebContentDecryptionModule; | 61 class WebContentDecryptionModule; |
62 class WebCookieJar; | 62 class WebCookieJar; |
63 class WebDataSource; | 63 class WebDataSource; |
64 class WebDOMEvent; | 64 class WebDOMEvent; |
65 class WebFormElement; | 65 class WebFormElement; |
66 class WebGeolocationClient; | 66 class WebGeolocationClient; |
67 class WebInputEvent; | 67 class WebInputEvent; |
68 class WebMediaPlayer; | 68 class WebMediaPlayer; |
69 class WebMediaPlayerClient; | 69 class WebMediaPlayerClient; |
| 70 class WebMIDIClient; |
70 class WebNotificationPresenter; | 71 class WebNotificationPresenter; |
71 class WebServiceWorkerProvider; | 72 class WebServiceWorkerProvider; |
72 class WebServiceWorkerProviderClient; | 73 class WebServiceWorkerProviderClient; |
73 class WebSocketHandle; | 74 class WebSocketHandle; |
74 class WebNode; | 75 class WebNode; |
75 class WebPlugin; | 76 class WebPlugin; |
76 class WebRTCPeerConnectionHandler; | 77 class WebRTCPeerConnectionHandler; |
77 class WebSharedWorker; | 78 class WebSharedWorker; |
78 class WebSharedWorkerClient; | 79 class WebSharedWorkerClient; |
79 class WebSocketStreamHandle; | 80 class WebSocketStreamHandle; |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 | 458 |
458 | 459 |
459 // MediaStream ----------------------------------------------------- | 460 // MediaStream ----------------------------------------------------- |
460 | 461 |
461 // A new WebRTCPeerConnectionHandler is created. | 462 // A new WebRTCPeerConnectionHandler is created. |
462 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC
onnectionHandler*) { } | 463 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC
onnectionHandler*) { } |
463 | 464 |
464 virtual WebUserMediaClient* userMediaClient() { return 0; } | 465 virtual WebUserMediaClient* userMediaClient() { return 0; } |
465 | 466 |
466 | 467 |
| 468 // Web MIDI ------------------------------------------------------------- |
| 469 |
| 470 virtual WebMIDIClient* webMIDIClient() { return 0; } |
| 471 |
| 472 |
467 // Messages ------------------------------------------------------ | 473 // Messages ------------------------------------------------------ |
468 | 474 |
469 // Notifies the embedder that a postMessage was issued on this frame, and | 475 // Notifies the embedder that a postMessage was issued on this frame, and |
470 // gives the embedder a chance to handle it instead of WebKit. Returns true | 476 // gives the embedder a chance to handle it instead of WebKit. Returns true |
471 // if the embedder handled it. | 477 // if the embedder handled it. |
472 virtual bool willCheckAndDispatchMessageEvent( | 478 virtual bool willCheckAndDispatchMessageEvent( |
473 WebLocalFrame* sourceFrame, | 479 WebLocalFrame* sourceFrame, |
474 WebFrame* targetFrame, | 480 WebFrame* targetFrame, |
475 WebSecurityOrigin target, | 481 WebSecurityOrigin target, |
476 WebDOMMessageEvent event) { return false; } | 482 WebDOMMessageEvent event) { return false; } |
(...skipping 28 matching lines...) Expand all Loading... |
505 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 511 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
506 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 512 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
507 | 513 |
508 protected: | 514 protected: |
509 ~WebFrameClient() { } | 515 ~WebFrameClient() { } |
510 }; | 516 }; |
511 | 517 |
512 } // namespace blink | 518 } // namespace blink |
513 | 519 |
514 #endif | 520 #endif |
OLD | NEW |