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

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

Issue 10199014: Merge 114800 - [chromium] Plumb a compositor surface ready notification through to the threaded com… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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/WebKit/chromium/src/WebPopupMenuImpl.h ('k') | Source/WebKit/chromium/src/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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 if (!rect.isEmpty()) 201 if (!rect.isEmpty())
202 m_widget->paint(&GraphicsContextBuilder(canvas).context(), rect); 202 m_widget->paint(&GraphicsContextBuilder(canvas).context(), rect);
203 } 203 }
204 204
205 void WebPopupMenuImpl::themeChanged() 205 void WebPopupMenuImpl::themeChanged()
206 { 206 {
207 notImplemented(); 207 notImplemented();
208 } 208 }
209 209
210 void WebPopupMenuImpl::setCompositorSurfaceReady()
211 {
212 notImplemented();
213 }
214
210 void WebPopupMenuImpl::composite(bool) 215 void WebPopupMenuImpl::composite(bool)
211 { 216 {
212 notImplemented(); 217 notImplemented();
213 } 218 }
214 219
215 bool WebPopupMenuImpl::handleInputEvent(const WebInputEvent& inputEvent) 220 bool WebPopupMenuImpl::handleInputEvent(const WebInputEvent& inputEvent)
216 { 221 {
217 if (!m_widget) 222 if (!m_widget)
218 return false; 223 return false;
219 224
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 ASSERT(widget == m_widget); 409 ASSERT(widget == m_widget);
405 if (m_widget) { 410 if (m_widget) {
406 m_widget->setClient(0); 411 m_widget->setClient(0);
407 m_widget = 0; 412 m_widget = 0;
408 } 413 }
409 if (m_client) 414 if (m_client)
410 m_client->closeWidgetSoon(); 415 m_client->closeWidgetSoon();
411 } 416 }
412 417
413 } // namespace WebKit 418 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698