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

Side by Side Diff: ppapi/cpp/instance.h

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and take out WebKit changes Created 9 years, 4 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/cpp/dev/widget_client_dev.cc ('k') | ppapi/tests/test_scrollbar.h » ('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 #ifndef PPAPI_CPP_INSTANCE_H_ 5 #ifndef PPAPI_CPP_INSTANCE_H_
6 #define PPAPI_CPP_INSTANCE_H_ 6 #define PPAPI_CPP_INSTANCE_H_
7 7
8 /// @file 8 /// @file
9 /// Defines the C++ wrapper for an instance. 9 /// Defines the C++ wrapper for an instance.
10 10
(...skipping 13 matching lines...) Expand all
24 class Graphics3D_Dev; 24 class Graphics3D_Dev;
25 class InputEvent; 25 class InputEvent;
26 class ImageData; 26 class ImageData;
27 class Point; 27 class Point;
28 class Rect; 28 class Rect;
29 class Rect; 29 class Rect;
30 class Resource; 30 class Resource;
31 class Surface3D_Dev; 31 class Surface3D_Dev;
32 class URLLoader; 32 class URLLoader;
33 class Var; 33 class Var;
34 class Widget_Dev;
35 34
36 class Instance { 35 class Instance {
37 public: 36 public:
38 /// Default constructor. Construction of an instance should only be done in 37 /// Default constructor. Construction of an instance should only be done in
39 /// response to a browser request in <code>Module::CreateInstance</code>. 38 /// response to a browser request in <code>Module::CreateInstance</code>.
40 /// Otherwise, the instance will lack the proper bookkeeping in the browser 39 /// Otherwise, the instance will lack the proper bookkeeping in the browser
41 /// and in the C++ wrapper. 40 /// and in the C++ wrapper.
42 /// 41 ///
43 /// Init() will be called immediately after the constructor. This allows you 42 /// Init() will be called immediately after the constructor. This allows you
44 /// to perform initialization tasks that can fail and to report that failure 43 /// to perform initialization tasks that can fail and to report that failure
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 private: 477 private:
479 PP_Instance pp_instance_; 478 PP_Instance pp_instance_;
480 479
481 typedef std::map<std::string, void*> InterfaceNameToObjectMap; 480 typedef std::map<std::string, void*> InterfaceNameToObjectMap;
482 InterfaceNameToObjectMap interface_name_to_objects_; 481 InterfaceNameToObjectMap interface_name_to_objects_;
483 }; 482 };
484 483
485 } // namespace pp 484 } // namespace pp
486 485
487 #endif // PPAPI_CPP_INSTANCE_H_ 486 #endif // PPAPI_CPP_INSTANCE_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/widget_client_dev.cc ('k') | ppapi/tests/test_scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698