OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010, Company 100, Inc. All rights reserved. | 2 * Copyright (c) 2010, Company 100, 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 24 matching lines...) Expand all Loading... |
35 #include <wtf/Forward.h> | 35 #include <wtf/Forward.h> |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 class IntRect; | 38 class IntRect; |
39 class PopupMenuClient; | 39 class PopupMenuClient; |
40 | 40 |
41 // Contains Brew-specific extensions to the ChromeClient. Only put | 41 // Contains Brew-specific extensions to the ChromeClient. Only put |
42 // things here that don't make sense for other ports. | 42 // things here that don't make sense for other ports. |
43 class ChromeClientBrew : public ChromeClient { | 43 class ChromeClientBrew : public ChromeClient { |
44 public: | 44 public: |
| 45 virtual void* webView() const { return 0; } |
45 virtual void createSelectPopup(PopupMenuClient*, int selected, const IntRect
& rect) = 0; | 46 virtual void createSelectPopup(PopupMenuClient*, int selected, const IntRect
& rect) = 0; |
46 virtual bool destroySelectPopup() = 0; | 47 virtual bool destroySelectPopup() = 0; |
47 }; | 48 }; |
48 | 49 |
49 } // namespace WebCore | 50 } // namespace WebCore |
50 | 51 |
51 #endif | 52 #endif |
OLD | NEW |