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

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: rebaseline test 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
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.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) 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 WebDragOperationsMask mask, 407 WebDragOperationsMask mask,
408 const WebImage& dragImage, 408 const WebImage& dragImage,
409 const WebPoint& dragImageOffset); 409 const WebPoint& dragImageOffset);
410 410
411 // Notification that a popup was opened/closed. 411 // Notification that a popup was opened/closed.
412 void popupOpened(PopupContainer*); 412 void popupOpened(PopupContainer*);
413 void popupClosed(PopupContainer*); 413 void popupClosed(PopupContainer*);
414 // PagePopupDriver functions. 414 // PagePopupDriver functions.
415 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE; 415 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE;
416 virtual void closePagePopup(PagePopup*) OVERRIDE; 416 virtual void closePagePopup(PagePopup*) OVERRIDE;
417 virtual LocalDOMWindow* pagePopupWindow() OVERRIDE;
417 418
418 // Returns the input event we're currently processing. This is used in some 419 // Returns the input event we're currently processing. This is used in some
419 // cases where the WebCore DOM event doesn't have the information we need. 420 // cases where the WebCore DOM event doesn't have the information we need.
420 static const WebInputEvent* currentInputEvent() 421 static const WebInputEvent* currentInputEvent()
421 { 422 {
422 return m_currentInputEvent; 423 return m_currentInputEvent;
423 } 424 }
424 425
425 GraphicsLayer* rootGraphicsLayer(); 426 GraphicsLayer* rootGraphicsLayer();
426 void setRootGraphicsLayer(GraphicsLayer*); 427 void setRootGraphicsLayer(GraphicsLayer*);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 float m_topControlsLayoutHeight; 755 float m_topControlsLayoutHeight;
755 }; 756 };
756 757
757 // We have no ways to check if the specified WebView is an instance of 758 // We have no ways to check if the specified WebView is an instance of
758 // WebViewImpl because WebViewImpl is the only implementation of WebView. 759 // WebViewImpl because WebViewImpl is the only implementation of WebView.
759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
760 761
761 } // namespace blink 762 } // namespace blink
762 763
763 #endif 764 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698