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

Side by Side Diff: ppapi/examples/mouse_cursor/mouse_cursor.cc

Issue 32343005: Add missing #includes of <algorithm> in ppapi for std::min/max (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ppapi/examples/input/pointer_event_input.cc ('k') | ppapi/tests/test_case.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <algorithm>
6
5 #include "ppapi/cpp/graphics_2d.h" 7 #include "ppapi/cpp/graphics_2d.h"
6 #include "ppapi/cpp/image_data.h" 8 #include "ppapi/cpp/image_data.h"
7 #include "ppapi/cpp/input_event.h" 9 #include "ppapi/cpp/input_event.h"
8 #include "ppapi/cpp/instance.h" 10 #include "ppapi/cpp/instance.h"
9 #include "ppapi/cpp/module.h" 11 #include "ppapi/cpp/module.h"
10 #include "ppapi/cpp/mouse_cursor.h" 12 #include "ppapi/cpp/mouse_cursor.h"
11 #include "ppapi/cpp/view.h" 13 #include "ppapi/cpp/view.h"
12 14
13 void FillRect(pp::ImageData* image, int left, int top, int width, int height, 15 void FillRect(pp::ImageData* image, int left, int top, int width, int height,
14 uint32_t color) { 16 uint32_t color) {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 }; 91 };
90 92
91 namespace pp { 93 namespace pp {
92 94
93 // Factory function for your specialization of the Module object. 95 // Factory function for your specialization of the Module object.
94 Module* CreateModule() { 96 Module* CreateModule() {
95 return new MyModule(); 97 return new MyModule();
96 } 98 }
97 99
98 } // namespace pp 100 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/examples/input/pointer_event_input.cc ('k') | ppapi/tests/test_case.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698