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

Side by Side Diff: content/child/npapi/webplugin.h

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
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 CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/basictypes.h" 13 #include "build/build_config.h"
12 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
13 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
14 #include "ui/gl/gpu_preference.h" 16 #include "ui/gl/gpu_preference.h"
15 17
16 // TODO(port): this typedef is obviously incorrect on non-Windows 18 // TODO(port): this typedef is obviously incorrect on non-Windows
17 // platforms, but now a lot of code now accidentally depends on them 19 // platforms, but now a lot of code now accidentally depends on them
18 // existing. #ifdef out these declarations and fix all the users. 20 // existing. #ifdef out these declarations and fix all the users.
19 typedef void* HANDLE; 21 typedef void* HANDLE;
20 22
21 class GURL; 23 class GURL;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Starts plugin IME. 114 // Starts plugin IME.
113 virtual void StartIme() {} 115 virtual void StartIme() {}
114 116
115 // Returns the accelerated surface abstraction for accelerated plugins. 117 // Returns the accelerated surface abstraction for accelerated plugins.
116 virtual WebPluginAcceleratedSurface* GetAcceleratedSurface( 118 virtual WebPluginAcceleratedSurface* GetAcceleratedSurface(
117 gfx::GpuPreference gpu_preference) = 0; 119 gfx::GpuPreference gpu_preference) = 0;
118 120
119 // Core Animation plugin support. CA plugins always render through 121 // Core Animation plugin support. CA plugins always render through
120 // the compositor. 122 // the compositor.
121 virtual void AcceleratedPluginEnabledRendering() = 0; 123 virtual void AcceleratedPluginEnabledRendering() = 0;
122 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, 124 virtual void AcceleratedPluginAllocatedIOSurface(int32_t width,
123 int32 height, 125 int32_t height,
124 uint32 surface_id) = 0; 126 uint32_t surface_id) = 0;
125 virtual void AcceleratedPluginSwappedIOSurface() = 0; 127 virtual void AcceleratedPluginSwappedIOSurface() = 0;
126 #endif 128 #endif
127 }; 129 };
128 130
129 } // namespace content 131 } // namespace content
130 132
131 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 133 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_web_event_converter_mac.mm ('k') | content/child/npapi/webplugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698