| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ | 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ |
| 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ | 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual bool Initialize(const GURL& url, char** argn, char** argv, int argc, | 53 virtual bool Initialize(const GURL& url, char** argn, char** argv, int argc, |
| 54 WebPlugin* plugin, bool load_manually); | 54 WebPlugin* plugin, bool load_manually); |
| 55 virtual void UpdateGeometry(const gfx::Rect& window_rect, | 55 virtual void UpdateGeometry(const gfx::Rect& window_rect, |
| 56 const gfx::Rect& clip_rect); | 56 const gfx::Rect& clip_rect); |
| 57 virtual void Paint(gfx::NativeDrawingContext context, const gfx::Rect& rect); | 57 virtual void Paint(gfx::NativeDrawingContext context, const gfx::Rect& rect); |
| 58 virtual void Print(gfx::NativeDrawingContext context); | 58 virtual void Print(gfx::NativeDrawingContext context); |
| 59 virtual NPObject* GetPluginScriptableObject(); | 59 virtual NPObject* GetPluginScriptableObject(); |
| 60 virtual void DidFinishLoadWithReason(NPReason reason); | 60 virtual void DidFinishLoadWithReason(NPReason reason); |
| 61 virtual void SetFocus(); | 61 virtual void SetFocus(); |
| 62 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, | 62 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, |
| 63 WebCursor* cursor); | 63 WebKit::WebCursorInfo* cursor); |
| 64 virtual int GetProcessId(); | 64 virtual int GetProcessId(); |
| 65 | 65 |
| 66 // IPC::Channel::Listener implementation: | 66 // IPC::Channel::Listener implementation: |
| 67 virtual void OnMessageReceived(const IPC::Message& msg); | 67 virtual void OnMessageReceived(const IPC::Message& msg); |
| 68 void OnChannelError(); | 68 void OnChannelError(); |
| 69 | 69 |
| 70 // IPC::Message::Sender implementation: | 70 // IPC::Message::Sender implementation: |
| 71 virtual bool Send(IPC::Message* msg); | 71 virtual bool Send(IPC::Message* msg); |
| 72 | 72 |
| 73 virtual void SendJavaScriptStream(const std::string& url, | 73 virtual void SendJavaScriptStream(const std::string& url, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; | 201 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; |
| 202 scoped_ptr<base::SharedMemory> background_store_; | 202 scoped_ptr<base::SharedMemory> background_store_; |
| 203 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; | 203 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; |
| 204 // This lets us know which portion of the backing store has been painted into. | 204 // This lets us know which portion of the backing store has been painted into. |
| 205 gfx::Rect backing_store_painted_; | 205 gfx::Rect backing_store_painted_; |
| 206 | 206 |
| 207 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); | 207 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 210 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
| OLD | NEW |