OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 20 matching lines...) Expand all Loading... |
31 class NSView; | 31 class NSView; |
32 #endif | 32 #endif |
33 #endif | 33 #endif |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 class ChromeClient; | 37 class ChromeClient; |
38 class ContextMenu; | 38 class ContextMenu; |
39 class FloatRect; | 39 class FloatRect; |
40 class Frame; | 40 class Frame; |
| 41 class Geolocation; |
41 class HitTestResult; | 42 class HitTestResult; |
42 class IntRect; | 43 class IntRect; |
43 class Page; | 44 class Page; |
44 class String; | 45 class String; |
45 | 46 |
46 struct FrameLoadRequest; | 47 struct FrameLoadRequest; |
47 struct WindowFeatures; | 48 struct WindowFeatures; |
48 | 49 |
49 class Chrome : public HostWindow { | 50 class Chrome : public HostWindow { |
50 public: | 51 public: |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 113 |
113 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlag
s); | 114 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlag
s); |
114 | 115 |
115 void setToolTip(const HitTestResult&); | 116 void setToolTip(const HitTestResult&); |
116 | 117 |
117 void print(Frame*); | 118 void print(Frame*); |
118 | 119 |
119 void enableSuddenTermination(); | 120 void enableSuddenTermination(); |
120 void disableSuddenTermination(); | 121 void disableSuddenTermination(); |
121 | 122 |
122 bool shouldAllowGeolocationForFrame(Frame*); | 123 void requestGeolocationPermissionForFrame(Frame*, Geolocation*); |
123 | 124 |
124 void runOpenPanel(Frame*, PassRefPtr<FileChooser>); | 125 void runOpenPanel(Frame*, PassRefPtr<FileChooser>); |
125 | 126 |
126 #if PLATFORM(MAC) | 127 #if PLATFORM(MAC) |
127 void focusNSView(NSView*); | 128 void focusNSView(NSView*); |
128 #endif | 129 #endif |
129 | 130 |
130 private: | 131 private: |
131 Page* m_page; | 132 Page* m_page; |
132 ChromeClient* m_client; | 133 ChromeClient* m_client; |
133 }; | 134 }; |
134 } | 135 } |
135 | 136 |
136 #endif // Chrome_h | 137 #endif // Chrome_h |
OLD | NEW |