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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_graphics_2d_host.h
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.h b/content/renderer/pepper/pepper_graphics_2d_host.h
index ce5a1af36cbf1c48a40cd7eb550c237a8db89275..71eb59f4e229efac6202dc6cc83ecb2c098ea947 100644
--- a/content/renderer/pepper/pepper_graphics_2d_host.h
+++ b/content/renderer/pepper/pepper_graphics_2d_host.h
@@ -57,8 +57,7 @@ class CONTENT_EXPORT PepperGraphics2DHost
ppapi::host::HostMessageContext* context) OVERRIDE;
virtual bool IsGraphics2DHost() OVERRIDE;
- bool ReadImageData(PP_Resource image,
- const PP_Point* top_left);
+ bool ReadImageData(PP_Resource image, const PP_Point* top_left);
// Assciates this device with the given plugin instance. You can pass NULL
// to clear the existing device. Returns true on success. In this case, a
// repaint of the page will also be scheduled. Failure means that the device
@@ -123,10 +122,13 @@ class CONTENT_EXPORT PepperGraphics2DHost
// the update that requires invalidation. If there were no pixels changed,
// this rect can be untouched.
void ExecutePaintImageData(PPB_ImageData_Impl* image,
- int x, int y,
+ int x,
+ int y,
const gfx::Rect& src_rect,
gfx::Rect* invalidated_rect);
- void ExecuteScroll(const gfx::Rect& clip, int dx, int dy,
+ void ExecuteScroll(const gfx::Rect& clip,
+ int dx,
+ int dy,
gfx::Rect* invalidated_rect);
void ExecuteReplaceContents(PPB_ImageData_Impl* image,
gfx::Rect* invalidated_rect,
« no previous file with comments | « content/renderer/pepper/pepper_file_system_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