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

Side by Side Diff: Source/core/testing/MockPagePopupDriver.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static PassOwnPtr<MockPagePopupDriver> create(LocalFrame* mainFrame); 44 static PassOwnPtr<MockPagePopupDriver> create(LocalFrame* mainFrame);
45 virtual ~MockPagePopupDriver(); 45 virtual ~MockPagePopupDriver();
46 PagePopupController* pagePopupController() { return m_pagePopupController.ge t(); } 46 PagePopupController* pagePopupController() { return m_pagePopupController.ge t(); }
47 47
48 private: 48 private:
49 MockPagePopupDriver(LocalFrame* mainFrame); 49 MockPagePopupDriver(LocalFrame* mainFrame);
50 50
51 // PagePopupDriver functions: 51 // PagePopupDriver functions:
52 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE; 52 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) OVERRIDE;
53 virtual void closePagePopup(PagePopup*) OVERRIDE; 53 virtual void closePagePopup(PagePopup*) OVERRIDE;
54 virtual LocalDOMWindow* pagePopupWindow() OVERRIDE { return nullptr; }
54 55
55 RefPtr<MockPagePopup> m_mockPagePopup; 56 RefPtr<MockPagePopup> m_mockPagePopup;
56 LocalFrame* m_mainFrame; 57 LocalFrame* m_mainFrame;
57 RefPtrWillBePersistent<PagePopupController> m_pagePopupController; 58 RefPtrWillBePersistent<PagePopupController> m_pagePopupController;
58 }; 59 };
59 60
60 } 61 }
61 #endif 62 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698