summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/app_launcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/app_launcher.h')
-rw-r--r--chrome/browser/views/app_launcher.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/chrome/browser/views/app_launcher.h b/chrome/browser/views/app_launcher.h
index fa5cc03..229f265 100644
--- a/chrome/browser/views/app_launcher.h
+++ b/chrome/browser/views/app_launcher.h
@@ -7,7 +7,7 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
-#include "chrome/browser/views/pinned_contents_info_bubble.h"
+#include "chrome/browser/views/info_bubble.h"
#include "views/view.h"
class Browser;
@@ -49,17 +49,13 @@ class TabContentsDelegateImpl;
// When a new url is opened, or the user clicks outsides the bounds of the
// widget the app launcher is closed.
class AppLauncher : public InfoBubbleDelegate,
- public TabContentsDelegate {
+ public TabContentsDelegate {
public:
// Shows an application launcher bubble pointing to the |bounds| (which should
- // be in screen coordinates). |bubble_anchor| specifies at which coordinates
- // the bubble contents should appear (in screen coordinates). The bubble will
- // be moved accordingly.
+ // be in screen coordinates).
// The caller DOES NOT OWN the AppLauncher returned. It is deleted
// automatically when the AppLauncher is closed.
- static AppLauncher* Show(Browser* browser,
- const gfx::Rect& bounds,
- const gfx::Point& bubble_anchor);
+ static AppLauncher* Show(Browser* browser, const gfx::Rect& bounds);
// Shows an application launcher bubble pointing to the new tab button.
// The caller DOES NOT OWN the AppLauncher returned. It is deleted
@@ -111,8 +107,8 @@ class AppLauncher : public InfoBubbleDelegate,
// The currently active browser. We use this to open urls.
Browser* browser_;
- // The InfoBubble displaying the Omnibox and app contents.
- PinnedContentsInfoBubble* info_bubble_;
+ // The InfoBubble displaying the omnibox and app contents.
+ InfoBubble* info_bubble_;
// The view with the navigation bar and render view, shown in the info-bubble.
InfoBubbleContentsView* info_bubble_content_;