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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 137463002: RenderFrame: flesh out Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: More fixes Created 6 years, 10 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
« no previous file with comments | « content/public/renderer/render_frame_observer.h ('k') | content/renderer/render_frame_impl.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 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
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
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_
OLDNEW
« no previous file with comments | « content/public/renderer/render_frame_observer.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698