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

Side by Side Diff: content/plugin/webplugin_proxy.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
« no previous file with comments | « content/plugin/webplugin_delegate_stub.h ('k') | content/plugin/webplugin_proxy.cc » ('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) 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_PLUGIN_WEBPLUGIN_PROXY_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/containers/hash_tables.h" 12 #include "base/containers/hash_tables.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "build/build_config.h"
14 #include "content/child/npapi/webplugin.h" 17 #include "content/child/npapi/webplugin.h"
15 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
16 #include "ipc/ipc_sender.h" 19 #include "ipc/ipc_sender.h"
17 #include "skia/ext/refptr.h" 20 #include "skia/ext/refptr.h"
18 #include "third_party/skia/include/core/SkCanvas.h" 21 #include "third_party/skia/include/core/SkCanvas.h"
19 #include "url/gurl.h"
20 #include "ui/gl/gpu_preference.h" 22 #include "ui/gl/gpu_preference.h"
21 #include "ui/surface/transport_dib.h" 23 #include "ui/surface/transport_dib.h"
24 #include "url/gurl.h"
22 25
23 #if defined(OS_MACOSX) 26 #if defined(OS_MACOSX)
24 #include <ApplicationServices/ApplicationServices.h> 27 #include <ApplicationServices/ApplicationServices.h>
25 28
26 #include "base/mac/scoped_cftyperef.h" 29 #include "base/mac/scoped_cftyperef.h"
27 #endif 30 #endif
28 31
29 struct PluginMsg_FetchURL_Params; 32 struct PluginMsg_FetchURL_Params;
30 33
31 namespace content { 34 namespace content {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #if defined(OS_WIN) 85 #if defined(OS_WIN)
83 void SetWindowlessData(HANDLE pump_messages_event, 86 void SetWindowlessData(HANDLE pump_messages_event,
84 gfx::NativeViewId dummy_activation_window) override; 87 gfx::NativeViewId dummy_activation_window) override;
85 #endif 88 #endif
86 #if defined(OS_MACOSX) 89 #if defined(OS_MACOSX)
87 void FocusChanged(bool focused) override; 90 void FocusChanged(bool focused) override;
88 void StartIme() override; 91 void StartIme() override;
89 WebPluginAcceleratedSurface* GetAcceleratedSurface( 92 WebPluginAcceleratedSurface* GetAcceleratedSurface(
90 gfx::GpuPreference gpu_preference) override; 93 gfx::GpuPreference gpu_preference) override;
91 void AcceleratedPluginEnabledRendering() override; 94 void AcceleratedPluginEnabledRendering() override;
92 void AcceleratedPluginAllocatedIOSurface(int32 width, 95 void AcceleratedPluginAllocatedIOSurface(int32_t width,
93 int32 height, 96 int32_t height,
94 uint32 surface_id) override; 97 uint32_t surface_id) override;
95 void AcceleratedPluginSwappedIOSurface() override; 98 void AcceleratedPluginSwappedIOSurface() override;
96 #endif 99 #endif
97 100
98 // IPC::Sender implementation. 101 // IPC::Sender implementation.
99 bool Send(IPC::Message* msg) override; 102 bool Send(IPC::Message* msg) override;
100 103
101 // class-specific methods 104 // class-specific methods
102 105
103 // Returns a WebPluginResourceClient object given its id, or NULL if no 106 // Returns a WebPluginResourceClient object given its id, or NULL if no
104 // object with that id exists. 107 // object with that id exists.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 203
201 // Contains the routing id of the host render view. 204 // Contains the routing id of the host render view.
202 int host_render_view_routing_id_; 205 int host_render_view_routing_id_;
203 206
204 base::WeakPtrFactory<WebPluginProxy> weak_factory_; 207 base::WeakPtrFactory<WebPluginProxy> weak_factory_;
205 }; 208 };
206 209
207 } // namespace content 210 } // namespace content
208 211
209 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 212 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_delegate_stub.h ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698