| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // This is a temporary file declaring some functions that the WebKit layer can | 34 // This is a temporary file declaring some functions that the WebKit layer can |
| 35 // use to call to the Glue layer. Once the Glue layer moves entirely into the | 35 // use to call to the Glue layer. Once the Glue layer moves entirely into the |
| 36 // WebKit layer, this file will be deleted. | 36 // WebKit layer, this file will be deleted. |
| 37 | 37 |
| 38 struct _NPP; | 38 struct _NPP; |
| 39 typedef struct _NPP NPP_t; | 39 typedef struct _NPP NPP_t; |
| 40 typedef NPP_t* NPP; | 40 typedef NPP_t* NPP; |
| 41 | 41 |
| 42 namespace WebCore { | 42 namespace WebCore { |
| 43 class Cursor; | |
| 44 class Frame; | |
| 45 class IntRect; | |
| 46 class String; | 43 class String; |
| 47 class Widget; | 44 } |
| 48 class Worker; | |
| 49 class WorkerContextProxy; | |
| 50 } // namespace WebCore | |
| 51 | 45 |
| 52 namespace WebKit { | 46 namespace WebKit { |
| 53 class WebMediaPlayer; | |
| 54 class WebMediaPlayerClient; | |
| 55 struct WebCursorInfo; | |
| 56 | |
| 57 class TemporaryGlue { | 47 class TemporaryGlue { |
| 58 public: | 48 public: |
| 59 virtual WebMediaPlayer* createWebMediaPlayer(WebMediaPlayerClient*, WebCore::Frame*) = 0; | |
| 60 virtual void setCursorForPlugin(const WebCursorInfo&, WebCore::Frame*) = 0; | |
| 61 virtual WebCore::String uiResourceProtocol() = 0; | 49 virtual WebCore::String uiResourceProtocol() = 0; |
| 62 virtual void notifyJSOutOfMemory(WebCore::Frame*) = 0; | |
| 63 virtual int screenDepth(WebCore::Widget*) = 0; | |
| 64 virtual int screenDepthPerComponent(WebCore::Widget*) = 0; | |
| 65 virtual bool screenIsMonochrome(WebCore::Widget*) = 0; | |
| 66 virtual WebCore::IntRect screenRect(WebCore::Widget*) = 0; | |
| 67 virtual WebCore::IntRect screenAvailableRect(WebCore::Widget*) = 0; | |
| 68 virtual bool popupsAllowed(NPP) = 0; | 50 virtual bool popupsAllowed(NPP) = 0; |
| 69 virtual void widgetSetCursor(WebCore::Widget*, const WebCore::Cursor&) = 0; | |
| 70 virtual void widgetSetFocus(WebCore::Widget*) = 0; | |
| 71 virtual WebCore::WorkerContextProxy* createWorkerContextProxy(WebCore::Worker* worker) = 0; | |
| 72 }; | 51 }; |
| 73 | 52 |
| 74 } // namespace WebKit | 53 } // namespace WebKit |
| 75 | 54 |
| 76 #endif | 55 #endif |
| OLD | NEW |