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

Side by Side Diff: chrome/plugin/webplugin_proxy.h

Issue 3782012: Merge 62820 - Implement IME for Mac plugins using the Cocoa event model on 10... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 2 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 | « chrome/plugin/webplugin_delegate_stub.cc ('k') | chrome/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_PROXY_H_
6 #define CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ 6 #define CHROME_PLUGIN_WEBPLUGIN_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void CancelDocumentLoad(); 134 void CancelDocumentLoad();
135 void InitiateHTTPRangeRequest( 135 void InitiateHTTPRangeRequest(
136 const char* url, const char* range_info, int range_request_id); 136 const char* url, const char* range_info, int range_request_id);
137 void SetDeferResourceLoading(unsigned long resource_id, bool defer); 137 void SetDeferResourceLoading(unsigned long resource_id, bool defer);
138 bool IsOffTheRecord(); 138 bool IsOffTheRecord();
139 void ResourceClientDeleted( 139 void ResourceClientDeleted(
140 webkit_glue::WebPluginResourceClient* resource_client); 140 webkit_glue::WebPluginResourceClient* resource_client);
141 gfx::NativeViewId containing_window() { return containing_window_; } 141 gfx::NativeViewId containing_window() { return containing_window_; }
142 142
143 #if defined(OS_MACOSX) 143 #if defined(OS_MACOSX)
144 virtual void SetImeEnabled(bool enabled);
145
144 virtual void BindFakePluginWindowHandle(bool opaque); 146 virtual void BindFakePluginWindowHandle(bool opaque);
145 147
146 virtual webkit_glue::WebPluginAcceleratedSurface* GetAcceleratedSurface(); 148 virtual webkit_glue::WebPluginAcceleratedSurface* GetAcceleratedSurface();
147 149
148 // Tell the browser (via the renderer) to invalidate because the 150 // Tell the browser (via the renderer) to invalidate because the
149 // accelerated buffers have changed. 151 // accelerated buffers have changed.
150 virtual void AcceleratedFrameBuffersDidSwap(gfx::PluginWindowHandle window); 152 virtual void AcceleratedFrameBuffersDidSwap(gfx::PluginWindowHandle window);
151 153
152 // Tell the renderer and browser to associate the given plugin handle with 154 // Tell the renderer and browser to associate the given plugin handle with
153 // |accelerated_surface_identifier|. The geometry is used to resize any 155 // |accelerated_surface_identifier|. The geometry is used to resize any
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 226
225 #endif 227 #endif
226 228
227 // Contains the routing id of the host render view. 229 // Contains the routing id of the host render view.
228 int host_render_view_routing_id_; 230 int host_render_view_routing_id_;
229 231
230 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; 232 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_;
231 }; 233 };
232 234
233 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ 235 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.cc ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698