OLD | NEW |
1 // Copyright (c) 2010 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 "chrome/browser/gtk/notifications/balloon_view_host_gtk.h" | 5 #include "chrome/browser/gtk/notifications/balloon_view_host_gtk.h" |
6 | 6 |
7 #include "chrome/browser/notifications/balloon.h" | 7 #include "chrome/browser/notifications/balloon.h" |
8 #include "chrome/browser/renderer_host/render_view_host.h" | 8 #include "chrome/browser/renderer_host/render_view_host.h" |
9 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 9 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
10 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" | 10 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" |
11 | 11 |
(...skipping 14 matching lines...) Expand all Loading... |
26 | 26 |
27 void BalloonViewHost::InitRenderWidgetHostView() { | 27 void BalloonViewHost::InitRenderWidgetHostView() { |
28 DCHECK(render_view_host_); | 28 DCHECK(render_view_host_); |
29 render_widget_host_view_ = new RenderWidgetHostViewGtk(render_view_host_); | 29 render_widget_host_view_ = new RenderWidgetHostViewGtk(render_view_host_); |
30 render_widget_host_view_->InitAsChild(); | 30 render_widget_host_view_->InitAsChild(); |
31 } | 31 } |
32 | 32 |
33 RenderWidgetHostView* BalloonViewHost::render_widget_host_view() const { | 33 RenderWidgetHostView* BalloonViewHost::render_widget_host_view() const { |
34 return render_widget_host_view_; | 34 return render_widget_host_view_; |
35 } | 35 } |
OLD | NEW |