OLD | NEW |
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/views/notifications/balloon_view_host.h" | 5 #include "chrome/browser/views/notifications/balloon_view_host.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 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #else | 83 #else |
84 RenderWidgetHostViewGtk* view_gtk = | 84 RenderWidgetHostViewGtk* view_gtk = |
85 static_cast<RenderWidgetHostViewGtk*>(render_widget_host_view_); | 85 static_cast<RenderWidgetHostViewGtk*>(render_widget_host_view_); |
86 view_gtk->InitAsChild(); | 86 view_gtk->InitAsChild(); |
87 native_host_->Attach(view_gtk->native_view()); | 87 native_host_->Attach(view_gtk->native_view()); |
88 #endif | 88 #endif |
89 #else | 89 #else |
90 NOTIMPLEMENTED(); | 90 NOTIMPLEMENTED(); |
91 #endif | 91 #endif |
92 } | 92 } |
| 93 |
| 94 RenderWidgetHostView* BalloonViewHost::render_widget_host_view() const { |
| 95 return render_widget_host_view_; |
| 96 } |
OLD | NEW |