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

Unified Diff: chrome/browser/ui/views/frame/browser_bubble_host.h

Issue 8673009: Remove unused BrowserBubble remnants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove more stale code. Created 9 years, 1 month 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 | « chrome/browser/ui/views/browser_bubble_win.cc ('k') | chrome/browser/ui/views/frame/browser_bubble_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_bubble_host.h
diff --git a/chrome/browser/ui/views/frame/browser_bubble_host.h b/chrome/browser/ui/views/frame/browser_bubble_host.h
deleted file mode 100644
index 139befb9a39fd2872bf7a76cab6c198458a9ec1f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/browser_bubble_host.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2010 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_VIEWS_FRAME_BROWSER_BUBBLE_HOST_H_
-#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_BUBBLE_HOST_H_
-#pragma once
-
-#include <set>
-
-#include "base/basictypes.h"
-
-class BrowserBubble;
-
-// A class providing a hosting environment for BrowserBubble instances.
-// Allows for notification to attached BrowserBubbles of browser move, and
-// close events.
-class BrowserBubbleHost {
- public:
- BrowserBubbleHost();
- ~BrowserBubbleHost();
-
- // Invoked when the window containing the attached browser-bubbles is moved.
- // Calls BrowserBubble::BrowserWindowMoved on all attached bubbles.
- void WindowMoved();
-
- // To be called when the frame containing the BrowserBubbleHost is closing.
- // Calls BrowserBubble::BrowserWindowClosing on all attached bubbles.
- void Close();
-
- // Registers/Unregisters |bubble| to receive notifications when the host moves
- // or is closed.
- void AttachBrowserBubble(BrowserBubble* bubble);
- void DetachBrowserBubble(BrowserBubble* bubble);
-
- private:
- // The set of bubbles associated with this host.
- typedef std::set<BrowserBubble*> BubbleSet;
- BubbleSet browser_bubbles_;
-
- DISALLOW_COPY_AND_ASSIGN(BrowserBubbleHost);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_BUBBLE_HOST_H_
« no previous file with comments | « chrome/browser/ui/views/browser_bubble_win.cc ('k') | chrome/browser/ui/views/frame/browser_bubble_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698