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

Side by Side Diff: Source/web/WebPopupMenuImpl.cpp

Issue 321373003: Changing animate to beginFrame and use struct rather than naked double to allow extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding another FIXME comment. Created 6 years, 5 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
« no previous file with comments | « Source/web/WebPopupMenuImpl.h ('k') | Source/web/WebViewImpl.h » ('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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 197 }
198 198
199 if (m_rootLayer) 199 if (m_rootLayer)
200 m_rootLayer->layer()->setBounds(newSize); 200 m_rootLayer->layer()->setBounds(newSize);
201 } 201 }
202 202
203 void WebPopupMenuImpl::willEndLiveResize() 203 void WebPopupMenuImpl::willEndLiveResize()
204 { 204 {
205 } 205 }
206 206
207 void WebPopupMenuImpl::animate(double) 207 void WebPopupMenuImpl::beginFrame(const WebBeginFrameArgs&)
208 { 208 {
209 } 209 }
210 210
211 void WebPopupMenuImpl::layout() 211 void WebPopupMenuImpl::layout()
212 { 212 {
213 } 213 }
214 214
215 void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, boo l, WebFloatRect&, 215 void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, boo l, WebFloatRect&,
216 WebContentLayerClient::GraphicsContextStatus contextStatus) 216 WebContentLayerClient::GraphicsContextStatus contextStatus)
217 { 217 {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 ASSERT(widget == m_widget); 413 ASSERT(widget == m_widget);
414 if (m_widget) { 414 if (m_widget) {
415 m_widget->setClient(0); 415 m_widget->setClient(0);
416 m_widget = 0; 416 m_widget = 0;
417 } 417 }
418 if (m_client) 418 if (m_client)
419 m_client->closeWidgetSoon(); 419 m_client->closeWidgetSoon();
420 } 420 }
421 421
422 } // namespace blink 422 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebPopupMenuImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698