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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.mm

Issue 6598084: Get rid of temporary render_view_host.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h" 5 #include "chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h"
6 6
7 #include "chrome/browser/renderer_host/render_view_host.h"
8 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h" 7 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h"
8 #include "content/browser/renderer_host/render_view_host.h"
9 9
10 BalloonViewHost::BalloonViewHost(Balloon* balloon) 10 BalloonViewHost::BalloonViewHost(Balloon* balloon)
11 : BalloonHost(balloon) { 11 : BalloonHost(balloon) {
12 } 12 }
13 13
14 BalloonViewHost::~BalloonViewHost() { 14 BalloonViewHost::~BalloonViewHost() {
15 Shutdown(); 15 Shutdown();
16 } 16 }
17 17
18 void BalloonViewHost::UpdateActualSize(const gfx::Size& new_size) { 18 void BalloonViewHost::UpdateActualSize(const gfx::Size& new_size) {
(...skipping 11 matching lines...) Expand all
30 } 30 }
31 31
32 void BalloonViewHost::InitRenderWidgetHostView() { 32 void BalloonViewHost::InitRenderWidgetHostView() {
33 DCHECK(render_view_host_); 33 DCHECK(render_view_host_);
34 render_widget_host_view_ = new RenderWidgetHostViewMac(render_view_host_); 34 render_widget_host_view_ = new RenderWidgetHostViewMac(render_view_host_);
35 } 35 }
36 36
37 RenderWidgetHostView* BalloonViewHost::render_widget_host_view() const { 37 RenderWidgetHostView* BalloonViewHost::render_widget_host_view() const {
38 return render_widget_host_view_; 38 return render_widget_host_view_;
39 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698