diff options
Diffstat (limited to 'ash/launcher/tabbed_launcher_button.cc')
-rw-r--r-- | ash/launcher/tabbed_launcher_button.cc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ash/launcher/tabbed_launcher_button.cc b/ash/launcher/tabbed_launcher_button.cc index 7bd5682..517607c 100644 --- a/ash/launcher/tabbed_launcher_button.cc +++ b/ash/launcher/tabbed_launcher_button.cc @@ -115,17 +115,20 @@ const gfx::ImageSkia* TabbedLauncherButton* TabbedLauncherButton::Create( views::ButtonListener* listener, LauncherButtonHost* host, + ShelfLayoutManager* shelf_layout_manager, IncognitoState is_incognito) { - TabbedLauncherButton* button = - new TabbedLauncherButton(listener, host, is_incognito); + TabbedLauncherButton* button = new TabbedLauncherButton( + listener, host, shelf_layout_manager, is_incognito); button->Init(); return button; } -TabbedLauncherButton::TabbedLauncherButton(views::ButtonListener* listener, - LauncherButtonHost* host, - IncognitoState is_incognito) - : LauncherButton(listener, host), +TabbedLauncherButton::TabbedLauncherButton( + views::ButtonListener* listener, + LauncherButtonHost* host, + ShelfLayoutManager* shelf_layout_manager, + IncognitoState is_incognito) + : LauncherButton(listener, host, shelf_layout_manager), is_incognito_(is_incognito) { set_accessibility_focusable(true); } |