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