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

Side by Side Diff: ppapi/cpp/input_event.cc

Issue 7237039: Remove PPBoolToBool and BoolToPPBool and use PP_FromBool and PP_ToBool instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
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 "ppapi/cpp/input_event.h" 5 #include "ppapi/cpp/input_event.h"
6 6
7 #include "ppapi/cpp/common.h"
8 #include "ppapi/cpp/instance.h" 7 #include "ppapi/cpp/instance.h"
9 #include "ppapi/cpp/module.h" 8 #include "ppapi/cpp/module.h"
10 #include "ppapi/cpp/module_impl.h" 9 #include "ppapi/cpp/module_impl.h"
11 #include "ppapi/cpp/point.h" 10 #include "ppapi/cpp/point.h"
12 #include "ppapi/cpp/var.h" 11 #include "ppapi/cpp/var.h"
13 12
14 namespace pp { 13 namespace pp {
15 14
16 namespace { 15 namespace {
17 16
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 162
164 Var KeyboardInputEvent::GetCharacterText() const { 163 Var KeyboardInputEvent::GetCharacterText() const {
165 if (!has_interface<PPB_KeyboardInputEvent>()) 164 if (!has_interface<PPB_KeyboardInputEvent>())
166 return PP_INPUTEVENT_TYPE_UNDEFINED; 165 return PP_INPUTEVENT_TYPE_UNDEFINED;
167 return Var(Var::PassRef(), 166 return Var(Var::PassRef(),
168 get_interface<PPB_KeyboardInputEvent>()->GetCharacterText( 167 get_interface<PPB_KeyboardInputEvent>()->GetCharacterText(
169 pp_resource())); 168 pp_resource()));
170 } 169 }
171 170
172 } // namespace pp 171 } // namespace pp
OLDNEW
« ppapi/cpp/dev/font_dev.h ('K') | « ppapi/cpp/image_data.cc ('k') | ppapi/cpp/instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698