Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: Source/WebKit/chromium/src/WebPopupMenuImpl.cpp

Issue 13851023: Remove ChromeClient cruft (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698