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

Unified Diff: chrome/browser/ui/views/notifications/balloon_view_views.h

Issue 10832107: views: Forward declare more classes in balloon_view_views.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/notifications/balloon_view_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/notifications/balloon_view_views.h
diff --git a/chrome/browser/ui/views/notifications/balloon_view_views.h b/chrome/browser/ui/views/notifications/balloon_view_views.h
index 4cfd3363ab20372ee189409011c9e24a1ece58b0..4cea6a2996f77255552f0afe64955345a3b5dc88 100644
--- a/chrome/browser/ui/views/notifications/balloon_view_views.h
+++ b/chrome/browser/ui/views/notifications/balloon_view_views.h
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Draws the view for the balloons.
-
#ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_
@@ -11,29 +9,30 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/notifications/balloon.h"
-#include "chrome/browser/ui/views/notifications/balloon_view_host.h"
+#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "ui/base/animation/animation_delegate.h"
-#include "ui/gfx/path.h"
-#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
-#include "ui/gfx/size.h"
-#include "ui/views/controls/button/menu_button.h"
+#include "ui/views/controls/button/button.h"
#include "ui/views/controls/button/menu_button_listener.h"
-#include "ui/views/controls/label.h"
-#include "ui/views/view.h"
#include "ui/views/widget/widget_delegate.h"
class BalloonCollection;
+class BalloonViewHost;
class NotificationOptionsMenuModel;
+namespace gfx {
+class Path;
+}
+
namespace ui {
class SlideAnimation;
}
namespace views {
-class ButtonListener;
class ImageButton;
+class Label;
+class MenuButton;
class MenuRunner;
}
@@ -74,8 +73,8 @@ class BalloonViewImpl : public BalloonView,
virtual void OnWorkAreaChanged() OVERRIDE;
// views::ButtonListener interface.
- virtual void ButtonPressed(
- views::Button* sender, const views::Event&) OVERRIDE;
+ virtual void ButtonPressed(views::Button* sender,
+ const views::Event&) OVERRIDE;
// content::NotificationObserver interface.
virtual void Observe(int type,
« no previous file with comments | « no previous file | chrome/browser/ui/views/notifications/balloon_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698