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

Side by Side Diff: content/shell/renderer/shell_render_view_observer.h

Issue 222973003: Conversion of content_shell target to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some TODOs Created 6 years, 8 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
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_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "content/public/renderer/render_view_observer.h" 8 #include "content/public/renderer/render_view_observer.h"
9 9
10 namespace blink { 10 namespace blink {
11 class WebFrame; 11 class WebFrame;
12 } 12 }
13 13
14 namespace content { 14 namespace content {
15 15
16 class RenderView; 16 class RenderView;
17 17
18 18
19 class ShellRenderViewObserver : public RenderViewObserver { 19 class ShellRenderViewObserver : public RenderViewObserver {
20 public: 20 public:
21 explicit ShellRenderViewObserver(RenderView* render_view); 21 explicit ShellRenderViewObserver(RenderView* render_view);
22 virtual ~ShellRenderViewObserver() {} 22 virtual ~ShellRenderViewObserver() {}
23 23
24 private: 24 private:
25 // RenderViewObserver implementation. 25 // RenderViewObserver implementation.
26 virtual void DidClearWindowObject(blink::WebFrame* frame, 26 virtual void DidClearWindowObject(blink::WebLocalFrame* frame,
27 int world_id) OVERRIDE; 27 int world_id) OVERRIDE;
28 28
29 DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver); 29 DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver);
30 }; 30 };
31 31
32 } // namespace content 32 } // namespace content
33 33
34 #endif // CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_ 34 #endif // CONTENT_SHELL_SHELL_RENDER_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698