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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 195893044: Add a PPB_Find_Private function to set the tickmarks on the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/thunk/ppb_find_private_thunk.cc ('k') | no next file » | 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 #ifndef PPAPI_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_url_util_dev.h" 10 #include "ppapi/c/dev/ppb_url_util_dev.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 PP_Var source, 77 PP_Var source,
78 PP_Var value) = 0; 78 PP_Var value) = 0;
79 79
80 // Find. 80 // Find.
81 virtual void SetPluginToHandleFindRequests(PP_Instance instance) = 0; 81 virtual void SetPluginToHandleFindRequests(PP_Instance instance) = 0;
82 virtual void NumberOfFindResultsChanged(PP_Instance instance, 82 virtual void NumberOfFindResultsChanged(PP_Instance instance,
83 int32_t total, 83 int32_t total,
84 PP_Bool final_result) = 0; 84 PP_Bool final_result) = 0;
85 virtual void SelectedFindResultChanged(PP_Instance instance, 85 virtual void SelectedFindResultChanged(PP_Instance instance,
86 int32_t index) = 0; 86 int32_t index) = 0;
87 virtual void SetTickmarks(PP_Instance instance,
88 const PP_Rect* tickmarks,
89 uint32_t count) = 0;
87 90
88 // Fullscreen. 91 // Fullscreen.
89 virtual PP_Bool IsFullscreen(PP_Instance instance) = 0; 92 virtual PP_Bool IsFullscreen(PP_Instance instance) = 0;
90 virtual PP_Bool SetFullscreen(PP_Instance instance, 93 virtual PP_Bool SetFullscreen(PP_Instance instance,
91 PP_Bool fullscreen) = 0; 94 PP_Bool fullscreen) = 0;
92 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; 95 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0;
93 96
94 // This is an implementation-only function which grabs an instance of a 97 // This is an implementation-only function which grabs an instance of a
95 // "singleton resource". These are used to implement instance interfaces 98 // "singleton resource". These are used to implement instance interfaces
96 // (functions which are associated with the instance itself as opposed to a 99 // (functions which are associated with the instance itself as opposed to a
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 PP_URLComponents_Dev* components) = 0; 193 PP_URLComponents_Dev* components) = 0;
191 #endif // !defined(OS_NACL) 194 #endif // !defined(OS_NACL)
192 195
193 static const ApiID kApiID = API_ID_PPB_INSTANCE; 196 static const ApiID kApiID = API_ID_PPB_INSTANCE;
194 }; 197 };
195 198
196 } // namespace thunk 199 } // namespace thunk
197 } // namespace ppapi 200 } // namespace ppapi
198 201
199 #endif // PPAPI_THUNK_INSTANCE_API_H_ 202 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_find_private_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698