| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 RenderViewImpl* render_view() { return render_view_; } | 72 RenderViewImpl* render_view() { return render_view_; } |
| 73 | 73 |
| 74 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } | 74 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } |
| 75 | 75 |
| 76 // Returns the RenderWidget associated with this frame. | 76 // Returns the RenderWidget associated with this frame. |
| 77 RenderWidget* GetRenderWidget(); | 77 RenderWidget* GetRenderWidget(); |
| 78 | 78 |
| 79 // This is called right after creation with the WebFrame for this RenderFrame. | 79 // This is called right after creation with the WebFrame for this RenderFrame. |
| 80 void SetWebFrame(blink::WebFrame* web_frame); | 80 void SetWebFrame(blink::WebFrame* web_frame); |
| 81 | 81 |
| 82 // Notification from RenderView. |
| 83 virtual void OnStop(); |
| 84 |
| 82 #if defined(ENABLE_PLUGINS) | 85 #if defined(ENABLE_PLUGINS) |
| 83 // Notification that a PPAPI plugin has been created. | 86 // Notification that a PPAPI plugin has been created. |
| 84 void PepperPluginCreated(RendererPpapiHost* host); | 87 void PepperPluginCreated(RendererPpapiHost* host); |
| 85 | 88 |
| 86 // Notifies that |instance| has changed the cursor. | 89 // Notifies that |instance| has changed the cursor. |
| 87 // This will update the cursor appearance if it is currently over the plugin | 90 // This will update the cursor appearance if it is currently over the plugin |
| 88 // instance. | 91 // instance. |
| 89 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance, | 92 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance, |
| 90 const blink::WebCursorInfo& cursor); | 93 const blink::WebCursorInfo& cursor); |
| 91 | 94 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 340 |
| 338 // All the registered observers. | 341 // All the registered observers. |
| 339 ObserverList<RenderFrameObserver> observers_; | 342 ObserverList<RenderFrameObserver> observers_; |
| 340 | 343 |
| 341 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 344 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 342 }; | 345 }; |
| 343 | 346 |
| 344 } // namespace content | 347 } // namespace content |
| 345 | 348 |
| 346 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 349 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |