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

Side by Side Diff: content/renderer/pepper/pepper_graphics_2d_host.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual bool IsGraphics2DHost() OVERRIDE; 51 virtual bool IsGraphics2DHost() OVERRIDE;
52 52
53 bool ReadImageData(PP_Resource image, 53 bool ReadImageData(PP_Resource image,
54 const PP_Point* top_left); 54 const PP_Point* top_left);
55 // Assciates this device with the given plugin instance. You can pass NULL 55 // Assciates this device with the given plugin instance. You can pass NULL
56 // to clear the existing device. Returns true on success. In this case, a 56 // to clear the existing device. Returns true on success. In this case, a
57 // repaint of the page will also be scheduled. Failure means that the device 57 // repaint of the page will also be scheduled. Failure means that the device
58 // is already bound to a different instance, and nothing will happen. 58 // is already bound to a different instance, and nothing will happen.
59 bool BindToInstance(PepperPluginInstanceImpl* new_instance); 59 bool BindToInstance(PepperPluginInstanceImpl* new_instance);
60 // Paints the current backing store to the web page. 60 // Paints the current backing store to the web page.
61 void Paint(WebKit::WebCanvas* canvas, 61 void Paint(blink::WebCanvas* canvas,
62 const gfx::Rect& plugin_rect, 62 const gfx::Rect& plugin_rect,
63 const gfx::Rect& paint_rect); 63 const gfx::Rect& paint_rect);
64 64
65 bool PrepareTextureMailbox( 65 bool PrepareTextureMailbox(
66 cc::TextureMailbox* mailbox, 66 cc::TextureMailbox* mailbox,
67 scoped_ptr<cc::SingleReleaseCallback>* release_callback); 67 scoped_ptr<cc::SingleReleaseCallback>* release_callback);
68 void AttachedToNewLayer(); 68 void AttachedToNewLayer();
69 69
70 // Notifications about the view's progress painting. See PluginInstance. 70 // Notifications about the view's progress painting. See PluginInstance.
71 // These messages are used to send Flush callbacks to the plugin. 71 // These messages are used to send Flush callbacks to the plugin.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 bool texture_mailbox_modified_; 179 bool texture_mailbox_modified_;
180 180
181 friend class PepperGraphics2DHostTest; 181 friend class PepperGraphics2DHostTest;
182 DISALLOW_COPY_AND_ASSIGN(PepperGraphics2DHost); 182 DISALLOW_COPY_AND_ASSIGN(PepperGraphics2DHost);
183 }; 183 };
184 184
185 } // namespace content 185 } // namespace content
186 186
187 #endif // CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ 187 #endif // CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_file_chooser_host.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698