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

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

Issue 6259013: Update Mac plugin IME handling to match updated spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 9 years, 11 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual void CancelDocumentLoad(); 140 virtual void CancelDocumentLoad();
141 virtual void InitiateHTTPRangeRequest( 141 virtual void InitiateHTTPRangeRequest(
142 const char* url, const char* range_info, int range_request_id); 142 const char* url, const char* range_info, int range_request_id);
143 virtual void SetDeferResourceLoading(unsigned long resource_id, bool defer); 143 virtual void SetDeferResourceLoading(unsigned long resource_id, bool defer);
144 virtual bool IsOffTheRecord(); 144 virtual bool IsOffTheRecord();
145 virtual void ResourceClientDeleted( 145 virtual void ResourceClientDeleted(
146 webkit::npapi::WebPluginResourceClient* resource_client); 146 webkit::npapi::WebPluginResourceClient* resource_client);
147 gfx::NativeViewId containing_window() { return containing_window_; } 147 gfx::NativeViewId containing_window() { return containing_window_; }
148 148
149 #if defined(OS_MACOSX) 149 #if defined(OS_MACOSX)
150 virtual void SetImeEnabled(bool enabled); 150 virtual void FocusChanged(bool focused);
151
152 virtual void StartIme();
151 153
152 virtual void BindFakePluginWindowHandle(bool opaque); 154 virtual void BindFakePluginWindowHandle(bool opaque);
153 155
154 virtual webkit::npapi::WebPluginAcceleratedSurface* GetAcceleratedSurface(); 156 virtual webkit::npapi::WebPluginAcceleratedSurface* GetAcceleratedSurface();
155 157
156 // Tell the browser (via the renderer) to invalidate because the 158 // Tell the browser (via the renderer) to invalidate because the
157 // accelerated buffers have changed. 159 // accelerated buffers have changed.
158 virtual void AcceleratedFrameBuffersDidSwap( 160 virtual void AcceleratedFrameBuffersDidSwap(
159 gfx::PluginWindowHandle window, uint64 surface_id); 161 gfx::PluginWindowHandle window, uint64 surface_id);
160 162
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 237
236 #endif 238 #endif
237 239
238 // Contains the routing id of the host render view. 240 // Contains the routing id of the host render view.
239 int host_render_view_routing_id_; 241 int host_render_view_routing_id_;
240 242
241 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; 243 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_;
242 }; 244 };
243 245
244 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ 246 #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