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

Unified Diff: chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync past sadrul's r262988 which removed mac/views Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h
===================================================================
--- chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h (revision 263011)
+++ chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h (working copy)
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
-#define CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
-
-#include "chrome/browser/notifications/balloon_host.h"
-#include "ui/gfx/native_widget_types.h"
-
-// BalloonViewHost class is a delegate to the renderer host for the HTML
-// notification. When initialized it creates a new RenderViewHost and loads
-// the contents of the toast into it. It also handles links within the toast,
-// loading them into a new tab.
-class BalloonViewHost : public BalloonHost {
- public:
- explicit BalloonViewHost(Balloon* balloon);
-
- virtual ~BalloonViewHost();
-
- // Changes the size of the balloon.
- void UpdateActualSize(const gfx::Size& new_size);
-
- // Accessors.
- gfx::NativeView native_view() const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BalloonViewHost);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698