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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 if (!rect.isEmpty()) | 201 if (!rect.isEmpty()) |
202 m_widget->paint(&GraphicsContextBuilder(canvas).context(), rect); | 202 m_widget->paint(&GraphicsContextBuilder(canvas).context(), rect); |
203 } | 203 } |
204 | 204 |
205 void WebPopupMenuImpl::themeChanged() | 205 void WebPopupMenuImpl::themeChanged() |
206 { | 206 { |
207 notImplemented(); | 207 notImplemented(); |
208 } | 208 } |
209 | 209 |
| 210 void WebPopupMenuImpl::setCompositorSurfaceReady() |
| 211 { |
| 212 notImplemented(); |
| 213 } |
| 214 |
210 void WebPopupMenuImpl::composite(bool) | 215 void WebPopupMenuImpl::composite(bool) |
211 { | 216 { |
212 notImplemented(); | 217 notImplemented(); |
213 } | 218 } |
214 | 219 |
215 bool WebPopupMenuImpl::handleInputEvent(const WebInputEvent& inputEvent) | 220 bool WebPopupMenuImpl::handleInputEvent(const WebInputEvent& inputEvent) |
216 { | 221 { |
217 if (!m_widget) | 222 if (!m_widget) |
218 return false; | 223 return false; |
219 | 224 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 ASSERT(widget == m_widget); | 409 ASSERT(widget == m_widget); |
405 if (m_widget) { | 410 if (m_widget) { |
406 m_widget->setClient(0); | 411 m_widget->setClient(0); |
407 m_widget = 0; | 412 m_widget = 0; |
408 } | 413 } |
409 if (m_client) | 414 if (m_client) |
410 m_client->closeWidgetSoon(); | 415 m_client->closeWidgetSoon(); |
411 } | 416 } |
412 | 417 |
413 } // namespace WebKit | 418 } // namespace WebKit |
OLD | NEW |