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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |