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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 | 371 |
372 // Notifies the client that a WebGL context was lost on this page with the | 372 // Notifies the client that a WebGL context was lost on this page with the |
373 // given reason (one of the GL_ARB_robustness status codes; see | 373 // given reason (one of the GL_ARB_robustness status codes; see |
374 // Extensions3D.h in WebCore/platform/graphics). | 374 // Extensions3D.h in WebCore/platform/graphics). |
375 virtual void didLoseWebGLContext(WebFrame*, int) { } | 375 virtual void didLoseWebGLContext(WebFrame*, int) { } |
376 | 376 |
377 // FIXME: Remove this method once we have input routing in the browser | 377 // FIXME: Remove this method once we have input routing in the browser |
378 // process. See http://crbug.com/339659. | 378 // process. See http://crbug.com/339659. |
379 virtual void forwardInputEvent(const WebInputEvent*) { } | 379 virtual void forwardInputEvent(const WebInputEvent*) { } |
380 | 380 |
| 381 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 382 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 383 |
381 protected: | 384 protected: |
382 ~WebFrameClient() { } | 385 ~WebFrameClient() { } |
383 }; | 386 }; |
384 | 387 |
385 } // namespace blink | 388 } // namespace blink |
386 | 389 |
387 #endif | 390 #endif |
OLD | NEW |