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

Side by Side Diff: content/public/renderer/render_view_observer.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/public/renderer/render_view_observer.h" 5 #include "content/public/renderer/render_view_observer.h"
6 6
7 #include "content/renderer/render_view_impl.h" 7 #include "content/renderer/render_view_impl.h"
8 8
9 using WebKit::WebFrame; 9 using blink::WebFrame;
10 10
11 namespace content { 11 namespace content {
12 12
13 RenderViewObserver::RenderViewObserver(RenderView* render_view) 13 RenderViewObserver::RenderViewObserver(RenderView* render_view)
14 : render_view_(render_view), 14 : render_view_(render_view),
15 routing_id_(MSG_ROUTING_NONE) { 15 routing_id_(MSG_ROUTING_NONE) {
16 // |render_view| can be NULL on unit testing. 16 // |render_view| can be NULL on unit testing.
17 if (render_view) { 17 if (render_view) {
18 RenderViewImpl* impl = static_cast<RenderViewImpl*>(render_view); 18 RenderViewImpl* impl = static_cast<RenderViewImpl*>(render_view);
19 routing_id_ = impl->routing_id(); 19 routing_id_ = impl->routing_id();
(...skipping 26 matching lines...) Expand all
46 46
47 RenderView* RenderViewObserver::render_view() const { 47 RenderView* RenderViewObserver::render_view() const {
48 return render_view_; 48 return render_view_;
49 } 49 }
50 50
51 void RenderViewObserver::RenderViewGone() { 51 void RenderViewObserver::RenderViewGone() {
52 render_view_ = NULL; 52 render_view_ = NULL;
53 } 53 }
54 54
55 } // namespace content 55 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | content/public/renderer/renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698