| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 } | 329 } |
| 330 | 330 |
| 331 void WebPopupMenuImpl::setTextDirection(WebTextDirection) | 331 void WebPopupMenuImpl::setTextDirection(WebTextDirection) |
| 332 { | 332 { |
| 333 } | 333 } |
| 334 | 334 |
| 335 | 335 |
| 336 //----------------------------------------------------------------------------- | 336 //----------------------------------------------------------------------------- |
| 337 // WebCore::HostWindow | 337 // WebCore::HostWindow |
| 338 | 338 |
| 339 void WebPopupMenuImpl::invalidateRootView(const IntRect&) | |
| 340 { | |
| 341 notImplemented(); | |
| 342 } | |
| 343 | |
| 344 void WebPopupMenuImpl::invalidateContentsAndRootView(const IntRect& paintRect) | 339 void WebPopupMenuImpl::invalidateContentsAndRootView(const IntRect& paintRect) |
| 345 { | 340 { |
| 346 if (paintRect.isEmpty()) | 341 if (paintRect.isEmpty()) |
| 347 return; | 342 return; |
| 348 if (m_client) | 343 if (m_client) |
| 349 m_client->didInvalidateRect(paintRect); | 344 m_client->didInvalidateRect(paintRect); |
| 350 } | 345 } |
| 351 | 346 |
| 352 void WebPopupMenuImpl::invalidateContentsForSlowScroll(const IntRect& updateRect
) | 347 void WebPopupMenuImpl::invalidateContentsForSlowScroll(const IntRect& updateRect
) |
| 353 { | 348 { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 ASSERT(widget == m_widget); | 395 ASSERT(widget == m_widget); |
| 401 if (m_widget) { | 396 if (m_widget) { |
| 402 m_widget->setClient(0); | 397 m_widget->setClient(0); |
| 403 m_widget = 0; | 398 m_widget = 0; |
| 404 } | 399 } |
| 405 if (m_client) | 400 if (m_client) |
| 406 m_client->closeWidgetSoon(); | 401 m_client->closeWidgetSoon(); |
| 407 } | 402 } |
| 408 | 403 |
| 409 } // namespace WebKit | 404 } // namespace WebKit |
| OLD | NEW |