Implement toolbar API.
Merge pull request #1307 from Gozala/bug/toolbar@787390

Bug 787390 - Toolbar & Frame API implementations. r=@ZER0