diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 16:09:36 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 16:09:36 +0000 |
commit | 8e999bb588e19b797e53ad2bb8f621c0fc89e106 (patch) | |
tree | 266beba5289924f865dab78c1e6e2a1b2c21c34f /content/port | |
parent | 5ce223c108098e3333e447dd335cb68e9509e574 (diff) | |
download | chromium_src-8e999bb588e19b797e53ad2bb8f621c0fc89e106.zip chromium_src-8e999bb588e19b797e53ad2bb8f621c0fc89e106.tar.gz chromium_src-8e999bb588e19b797e53ad2bb8f621c0fc89e106.tar.bz2 |
Remove platform-specific methods in RenderWidgetHostViewPort and RenderWidgetHostView interfaces that are just used to relay IPC messages. Instead have the platform's view dispatch the IPC itself.
Remove SetCachedPageScaleFactorLimits since it's not used. Remove the deferred_plugin_handles_ code since it's not used either.
Also sort IPCs in view_messages.h.
Review URL: https://codereview.chromium.org/12318013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index 6ece6c0..a67253f 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -259,41 +259,17 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, // Called just before GetBackingStore blocks for an updated frame. virtual void AboutToWaitForBackingStoreMsg() = 0; - // Informs the view that a plugin gained or lost focus. - virtual void PluginFocusChanged(bool focused, int plugin_id) = 0; - - // Start plugin IME. - virtual void StartPluginIme() = 0; - // Does any event handling necessary for plugin IME; should be called after // the plugin has already had a chance to process the event. If plugin IME is // not enabled, this is a no-op, so it is always safe to call. // Returns true if the event was handled by IME. virtual bool PostProcessEventForPluginIme( const NativeWebKeyboardEvent& event) = 0; - - // Methods associated with GPU-accelerated plug-in instances. - virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( - bool opaque, bool root) = 0; - virtual void DestroyFakePluginWindowHandle( - gfx::PluginWindowHandle window) = 0; - virtual void AcceleratedSurfaceSetIOSurface( - gfx::PluginWindowHandle window, - int32 width, - int32 height, - uint64 io_surface_identifier) = 0; - virtual void AcceleratedSurfaceSetTransportDIB( - gfx::PluginWindowHandle window, - int32 width, - int32 height, - TransportDIB::Handle transport_dib) = 0; #endif #if defined(OS_ANDROID) virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap) = 0; - virtual void SetCachedPageScaleFactorLimits(float minimum_scale, - float maximum_scale) = 0; virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, float page_scale_factor, float min_page_scale_factor, @@ -304,11 +280,6 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, virtual void HasTouchEventHandlers(bool need_touch_events) = 0; #endif -#if defined(TOOLKIT_GTK) - virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; - virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; -#endif // defined(TOOLKIT_GTK) - #if defined(OS_WIN) && !defined(USE_AURA) virtual void WillWmDestroy() = 0; #endif |