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

Unified Diff: webkit/glue/plugins/ppb_private.h

Issue 3035005: Add private Pepper v2 API to get localized strings. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/pepper_private.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/ppb_private.h
===================================================================
--- webkit/glue/plugins/ppb_private.h (revision 0)
+++ webkit/glue/plugins/ppb_private.h (revision 0)
@@ -0,0 +1,21 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
+#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
+
+#include "ppapi/c/pp_var.h"
+
+#define PPB_PRIVATE_INTERFACE "PPB_Private;1"
+
+typedef enum _ppb_ResourceString {
darin (slow to review) 2010/07/17 02:51:19 _pp_
+ PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,
darin (slow to review) 2010/07/17 02:51:19 PP_RESOURCESTRING_PDFGETPASSWORD
+} PP_ResourceString;
+
+typedef struct _ppb_Private {
+ // Returns a localized string.
+ PP_Var (*GetLocalizedString)(PP_ResourceString string_id);
+} PPB_Private;
+
+#endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
Property changes on: webkit\glue\plugins\ppb_private.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « webkit/glue/plugins/pepper_private.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698