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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestPlugin.h

Issue 17859003: Allow DrawingBuffer to present to a bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void didReceiveData(const char* data, int dataLength) { } 73 virtual void didReceiveData(const char* data, int dataLength) { }
74 virtual void didFinishLoading() { } 74 virtual void didFinishLoading() { }
75 virtual void didFailLoading(const WebKit::WebURLError&) { } 75 virtual void didFailLoading(const WebKit::WebURLError&) { }
76 virtual void didFinishLoadingFrameRequest(const WebKit::WebURL&, void* notif yData) { } 76 virtual void didFinishLoadingFrameRequest(const WebKit::WebURL&, void* notif yData) { }
77 virtual void didFailLoadingFrameRequest(const WebKit::WebURL&, void* notifyD ata, const WebKit::WebURLError&) { } 77 virtual void didFailLoadingFrameRequest(const WebKit::WebURL&, void* notifyD ata, const WebKit::WebURLError&) { }
78 virtual bool isPlaceholder() { return false; } 78 virtual bool isPlaceholder() { return false; }
79 79
80 // WebExternalTextureLayerClient methods: 80 // WebExternalTextureLayerClient methods:
81 virtual unsigned prepareTexture(WebKit::WebTextureUpdater&) { return m_color Texture; } 81 virtual unsigned prepareTexture(WebKit::WebTextureUpdater&) { return m_color Texture; }
82 virtual WebKit::WebGraphicsContext3D* context() { return m_context; } 82 virtual WebKit::WebGraphicsContext3D* context() { return m_context; }
83 virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*) { return fal se; }; 83 virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*, WebKit::WebE xternalBitmap*) { return false; };
84 virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) { } 84 virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) { }
85 85
86 private: 86 private:
87 TestPlugin(WebKit::WebFrame*, const WebKit::WebPluginParams&, WebTestDelegat e*); 87 TestPlugin(WebKit::WebFrame*, const WebKit::WebPluginParams&, WebTestDelegat e*);
88 88
89 enum Primitive { 89 enum Primitive {
90 PrimitiveNone, 90 PrimitiveNone,
91 PrimitiveTriangle 91 PrimitiveTriangle
92 }; 92 };
93 93
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Requests touch events from the WebPluginContainerImpl multiple times to t ickle webkit.org/b/108381 146 // Requests touch events from the WebPluginContainerImpl multiple times to t ickle webkit.org/b/108381
147 bool m_reRequestTouchEvents; 147 bool m_reRequestTouchEvents;
148 bool m_printEventDetails; 148 bool m_printEventDetails;
149 bool m_printUserGestureStatus; 149 bool m_printUserGestureStatus;
150 bool m_canProcessDrag; 150 bool m_canProcessDrag;
151 }; 151 };
152 152
153 } 153 }
154 154
155 #endif // TestPlugin_h 155 #endif // TestPlugin_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/gpu/DrawingBuffer.cpp ('k') | public/platform/WebExternalBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698