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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 530653002: Use page popup pixel readback for calendar-picker-appearance.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 WebDragOperationsMask mask, 404 WebDragOperationsMask mask,
405 const WebImage& dragImage, 405 const WebImage& dragImage,
406 const WebPoint& dragImageOffset); 406 const WebPoint& dragImageOffset);
407 407
408 // Notification that a popup was opened/closed. 408 // Notification that a popup was opened/closed.
409 void popupOpened(PopupContainer*); 409 void popupOpened(PopupContainer*);
410 void popupClosed(PopupContainer*); 410 void popupClosed(PopupContainer*);
411 // PagePopupDriver functions. 411 // PagePopupDriver functions.
412 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE; 412 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE;
413 virtual void closePagePopup(PagePopup*) OVERRIDE; 413 virtual void closePagePopup(PagePopup*) OVERRIDE;
414 virtual LocalDOMWindow* pagePopupWindow() OVERRIDE;
414 415
415 // Returns the input event we're currently processing. This is used in some 416 // Returns the input event we're currently processing. This is used in some
416 // cases where the WebCore DOM event doesn't have the information we need. 417 // cases where the WebCore DOM event doesn't have the information we need.
417 static const WebInputEvent* currentInputEvent() 418 static const WebInputEvent* currentInputEvent()
418 { 419 {
419 return m_currentInputEvent; 420 return m_currentInputEvent;
420 } 421 }
421 422
422 GraphicsLayer* rootGraphicsLayer(); 423 GraphicsLayer* rootGraphicsLayer();
423 void setRootGraphicsLayer(GraphicsLayer*); 424 void setRootGraphicsLayer(GraphicsLayer*);
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 float m_topControlsLayoutHeight; 749 float m_topControlsLayoutHeight;
749 }; 750 };
750 751
751 // We have no ways to check if the specified WebView is an instance of 752 // We have no ways to check if the specified WebView is an instance of
752 // WebViewImpl because WebViewImpl is the only implementation of WebView. 753 // WebViewImpl because WebViewImpl is the only implementation of WebView.
753 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 754 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
754 755
755 } // namespace blink 756 } // namespace blink
756 757
757 #endif 758 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698