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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Calling WebWidgetClient::requestPointerLock() will result in one | 174 // Calling WebWidgetClient::requestPointerLock() will result in one |
175 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). | 175 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). |
176 virtual void didAcquirePointerLock() { } | 176 virtual void didAcquirePointerLock() { } |
177 virtual void didNotAcquirePointerLock() { } | 177 virtual void didNotAcquirePointerLock() { } |
178 | 178 |
179 // Pointer lock was held, but has been lost. This may be due to a | 179 // Pointer lock was held, but has been lost. This may be due to a |
180 // request via WebWidgetClient::requestPointerUnlock(), or for other | 180 // request via WebWidgetClient::requestPointerUnlock(), or for other |
181 // reasons such as the user exiting lock, window focus changing, etc. | 181 // reasons such as the user exiting lock, window focus changing, etc. |
182 virtual void didLosePointerLock() { } | 182 virtual void didLosePointerLock() { } |
183 | 183 |
| 184 // Informs the WebWidget that the resizer rect changed. Happens for example |
| 185 // on mac, when a widget appears below the WebWidget without changing the |
| 186 // WebWidget's size (WebWidget::resize() automatically checks the resizer |
| 187 // rect.) |
| 188 virtual void didChangeWindowResizerRect() { } |
| 189 |
184 protected: | 190 protected: |
185 ~WebWidget() { } | 191 ~WebWidget() { } |
186 }; | 192 }; |
187 | 193 |
188 } // namespace WebKit | 194 } // namespace WebKit |
189 | 195 |
190 #endif | 196 #endif |
OLD | NEW |