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

Side by Side Diff: ppapi/examples/2d/paint_manager_example.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 | « no previous file | ppapi/examples/2d/scroll.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/c/pp_input_event.h" 7 #include "ppapi/c/pp_input_event.h"
6 #include "ppapi/cpp/graphics_2d.h" 8 #include "ppapi/cpp/graphics_2d.h"
7 #include "ppapi/cpp/image_data.h" 9 #include "ppapi/cpp/image_data.h"
8 #include "ppapi/cpp/input_event.h" 10 #include "ppapi/cpp/input_event.h"
9 #include "ppapi/cpp/instance.h" 11 #include "ppapi/cpp/instance.h"
10 #include "ppapi/cpp/module.h" 12 #include "ppapi/cpp/module.h"
11 #include "ppapi/cpp/size.h" 13 #include "ppapi/cpp/size.h"
12 #include "ppapi/cpp/view.h" 14 #include "ppapi/cpp/view.h"
13 #include "ppapi/utility/graphics/paint_manager.h" 15 #include "ppapi/utility/graphics/paint_manager.h"
14 16
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 }; 154 };
153 155
154 namespace pp { 156 namespace pp {
155 157
156 // Factory function for your specialization of the Module object. 158 // Factory function for your specialization of the Module object.
157 Module* CreateModule() { 159 Module* CreateModule() {
158 return new MyModule(); 160 return new MyModule();
159 } 161 }
160 162
161 } // namespace pp 163 } // namespace pp
OLDNEW
« no previous file with comments | « no previous file | ppapi/examples/2d/scroll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698