summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/app_launcher.h
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 21:45:43 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 21:45:43 +0000
commitf4481633ac082f136453be1926c77d0c079b10c4 (patch)
treec5eacd0695e35a513c8e5b0b3d291b4463117797 /chrome/browser/views/app_launcher.h
parent6f3ad64a8dae4529cd88358f6d91d8750b836367 (diff)
downloadchromium_src-f4481633ac082f136453be1926c77d0c079b10c4.zip
chromium_src-f4481633ac082f136453be1926c77d0c079b10c4.tar.gz
chromium_src-f4481633ac082f136453be1926c77d0c079b10c4.tar.bz2
Some layout related fixes for the app launchers.
BUG=None TEST=Check that the app launcher is displayed correctly on ChromeOS and Windows (when using the --app-launcher-new-tab) Review URL: http://codereview.chromium.org/1171002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/app_launcher.h')
-rw-r--r--chrome/browser/views/app_launcher.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/views/app_launcher.h b/chrome/browser/views/app_launcher.h
index c641988..c98d435 100644
--- a/chrome/browser/views/app_launcher.h
+++ b/chrome/browser/views/app_launcher.h
@@ -55,10 +55,16 @@ class AppLauncher : public InfoBubbleDelegate,
public RenderViewHostDelegate,
public RenderViewHostDelegate::View {
public:
+ // Shows an application launcher bubble pointing to the |bounds| (which should
+ // 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);
+
// Shows an application launcher bubble pointing to the new tab button.
// The caller DOES NOT OWN the AppLauncher returned. It is deleted
// automatically when the AppLauncher is closed.
- static AppLauncher* Show(Browser* browser);
+ static AppLauncher* ShowForNewTab(Browser* browser);
// Returns the browser this AppLauncher is associated with.
Browser* browser() const { return browser_; }