OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef PagePopupDriver_h | 26 #ifndef PagePopupDriver_h |
27 #define PagePopupDriver_h | 27 #define PagePopupDriver_h |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class IntRect; | 31 class IntRect; |
| 32 class LocalDOMWindow; |
32 class PagePopup; | 33 class PagePopup; |
33 class PagePopupClient; | 34 class PagePopupClient; |
34 | 35 |
35 class PagePopupDriver { | 36 class PagePopupDriver { |
36 public: | 37 public: |
37 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; | 38 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; |
38 virtual void closePagePopup(PagePopup*) = 0; | 39 virtual void closePagePopup(PagePopup*) = 0; |
| 40 virtual LocalDOMWindow* pagePopupWindow() = 0; |
39 virtual ~PagePopupDriver() { } | 41 virtual ~PagePopupDriver() { } |
40 }; | 42 }; |
41 | 43 |
42 } | 44 } |
43 #endif | 45 #endif |
OLD | NEW |