| 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 #ifndef CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 
| 6 #define CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 
| 7 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "chrome/browser/notifications/balloon_host.h" | 9 #include "chrome/browser/notifications/balloon_host.h" | 
| 10 #include "gfx/native_widget_types.h" | 10 #include "gfx/native_widget_types.h" | 
| 11 | 11 | 
| 12 class RenderWidgetHostViewGtk; | 12 class RenderWidgetHostViewGtk; | 
| 13 | 13 | 
| 14 // BalloonViewHost class is a delegate to the renderer host for the HTML | 14 // BalloonViewHost class is a delegate to the renderer host for the HTML | 
| 15 // notification.  When initialized it creates a new RenderViewHost and loads | 15 // notification.  When initialized it creates a new RenderViewHost and loads | 
| 16 // the contents of the toast into it.  It also handles links within the toast, | 16 // the contents of the toast into it.  It also handles links within the toast, | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 33   virtual void InitRenderWidgetHostView(); | 33   virtual void InitRenderWidgetHostView(); | 
| 34   virtual RenderWidgetHostView* render_widget_host_view() const; | 34   virtual RenderWidgetHostView* render_widget_host_view() const; | 
| 35 | 35 | 
| 36  private: | 36  private: | 
| 37   // The GTK-specific widget host view.  Owned by its native view. | 37   // The GTK-specific widget host view.  Owned by its native view. | 
| 38   RenderWidgetHostViewGtk* render_widget_host_view_; | 38   RenderWidgetHostViewGtk* render_widget_host_view_; | 
| 39 | 39 | 
| 40   DISALLOW_COPY_AND_ASSIGN(BalloonViewHost); | 40   DISALLOW_COPY_AND_ASSIGN(BalloonViewHost); | 
| 41 }; | 41 }; | 
| 42 | 42 | 
| 43 #endif  // CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 43 #endif  // CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ | 
| OLD | NEW | 
|---|