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

Side by Side Diff: content/test/ppapi_unittest.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/test/ppapi_unittest.h ('k') | content/test/run_all_unittests.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 "content/test/ppapi_unittest.h" 5 #include "content/test/ppapi_unittest.h"
6 6
7 #include <stdint.h>
8
7 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
8 #include "content/renderer/pepper/gfx_conversion.h" 10 #include "content/renderer/pepper/gfx_conversion.h"
9 #include "content/renderer/pepper/host_globals.h" 11 #include "content/renderer/pepper/host_globals.h"
10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
11 #include "content/renderer/pepper/plugin_module.h" 13 #include "content/renderer/pepper/plugin_module.h"
12 #include "ppapi/c/pp_errors.h" 14 #include "ppapi/c/pp_errors.h"
13 #include "ppapi/c/pp_var.h" 15 #include "ppapi/c/pp_var.h"
14 #include "ppapi/c/ppp_instance.h" 16 #include "ppapi/c/ppp_instance.h"
15 #include "ppapi/shared_impl/ppapi_globals.h" 17 #include "ppapi/shared_impl/ppapi_globals.h"
16 #include "ppapi/shared_impl/ppapi_permissions.h" 18 #include "ppapi/shared_impl/ppapi_permissions.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 DCHECK(module_->HasOneRef()); 111 DCHECK(module_->HasOneRef());
110 module_ = NULL; 112 module_ = NULL;
111 } 113 }
112 114
113 void PpapiUnittest::SetViewSize(int width, int height) const { 115 void PpapiUnittest::SetViewSize(int width, int height) const {
114 instance_->view_data_.rect = PP_FromGfxRect(gfx::Rect(0, 0, width, height)); 116 instance_->view_data_.rect = PP_FromGfxRect(gfx::Rect(0, 0, width, height));
115 instance_->view_data_.clip_rect = instance_->view_data_.rect; 117 instance_->view_data_.clip_rect = instance_->view_data_.rect;
116 } 118 }
117 119
118 } // namespace content 120 } // namespace content
OLDNEW
« no previous file with comments | « content/test/ppapi_unittest.h ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698