Closed Bug 593872 Opened 14 years ago Closed 14 years ago

Send events for when tabs become pinned/unpinned

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b7
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: iangilman, Assigned: ehsan.akhgari)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files, 1 obsolete file)

Panorama needs it for app tab support (bug 593871). 

zpao has already written some code for this: 

https://bugzilla.mozilla.org/attachment.cgi?id=469553&action=diff#a/browser/base/content/tabbrowser.xml_sec1

... though we don't need the aSecondary stuff, just the 6 event lines. 

Drop it in, add a test, and r? dao.
Attached patch Patch (v1) (obsolete) — Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #472704 - Flags: review?(dao)
Version: unspecified → Trunk
Keywords: dev-doc-needed
Component: TabCandy → Tabbed Browser
QA Contact: tabcandy → tabbed.browser
We're hoping to get the feature this blocks (bug 593871) into beta6.
Blocks: 594094
Beltzner, please see comment 3.
blocking2.0: --- → ?
Attachment #472704 - Flags: review?(dao) → review?(gavin.sharp)
Attached patch Patch (v2)Splinter Review
Addressed Gavin's IRC comments...
Attachment #472704 - Attachment is obsolete: true
Attachment #473751 - Flags: review?(gavin.sharp)
Attachment #472704 - Flags: review?(gavin.sharp)
Comment on attachment 473751 [details] [diff] [review]
Patch (v2)

We should probably add a _fireTabEvent helper at some point...
Attachment #473751 - Flags: review?(gavin.sharp)
Attachment #473751 - Flags: review+
Attachment #473751 - Flags: feedback?(dao)
Attached patch For check-inSplinter Review
http://hg.mozilla.org/mozilla-central/rev/fc0b88873756
Flags: in-testsuite+
Target Milestone: --- → Firefox 4.0b6
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment on attachment 473751 [details] [diff] [review]
Patch (v2)

When I hear "TabPin" it's not obvious to me that "pin" is a verb. Would have preferred "TabPinned".
Attachment #473751 - Flags: feedback?(dao)
Depends on: 595304
(In reply to comment #9)
> Comment on attachment 473751 [details] [diff] [review]
> Patch (v2)
> 
> When I hear "TabPin" it's not obvious to me that "pin" is a verb. Would have
> preferred "TabPinned".

Filed follow-up bug 595304.
posthumous blocking+ since it blocks a blocker.
blocking2.0: ? → betaN+
These got documented when I covered bug 595304.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: