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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 513723003: Add pixel readback to page popup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual void closeWindowSoon() OVERRIDE { } 112 virtual void closeWindowSoon() OVERRIDE { }
113 113
114 virtual void runJavaScriptAlert(LocalFrame*, const String&) OVERRIDE { } 114 virtual void runJavaScriptAlert(LocalFrame*, const String&) OVERRIDE { }
115 virtual bool runJavaScriptConfirm(LocalFrame*, const String&) OVERRIDE { ret urn false; } 115 virtual bool runJavaScriptConfirm(LocalFrame*, const String&) OVERRIDE { ret urn false; }
116 virtual bool runJavaScriptPrompt(LocalFrame*, const String&, const String&, String&) OVERRIDE { return false; } 116 virtual bool runJavaScriptPrompt(LocalFrame*, const String&, const String&, String&) OVERRIDE { return false; }
117 117
118 virtual bool hasOpenedPopup() const OVERRIDE { return false; } 118 virtual bool hasOpenedPopup() const OVERRIDE { return false; }
119 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*) const OVERRIDE; 119 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*) const OVERRIDE;
120 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { } 120 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { }
121 virtual void resetPagePopupDriver() OVERRIDE { } 121 virtual void resetPagePopupDriver() OVERRIDE { }
122 virtual PagePopupDriver* pagePopupDriver() const OVERRIDE { return nullptr; }
122 123
123 virtual void setStatusbarText(const String&) OVERRIDE { } 124 virtual void setStatusbarText(const String&) OVERRIDE { }
124 125
125 virtual bool tabsToLinks() OVERRIDE { return false; } 126 virtual bool tabsToLinks() OVERRIDE { return false; }
126 127
127 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } 128 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); }
128 129
129 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } 130 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { }
130 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } 131 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { }
131 virtual void scheduleAnimation() OVERRIDE { } 132 virtual void scheduleAnimation() OVERRIDE { }
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 public: 333 public:
333 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 334 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
334 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 335 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
335 }; 336 };
336 337
337 void fillWithEmptyClients(Page::PageClients&); 338 void fillWithEmptyClients(Page::PageClients&);
338 339
339 } 340 }
340 341
341 #endif // EmptyClients_h 342 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698