The first mini tab to exist was the Pinned tab. When this tab was
first developed there was talk about it having all external links open
in a new tab, making them function much like the abstract concept of
an Application tab. As far as I can tell, that functionality was never
implemented, but the address bar had similar functionality added.
Specifically, in a pinned tab, one could change the URL to another
page on the same site, and that page would open in the pinned tab, but
type a URL for a different page, and that would be opened in a new
tab.
Unlike pinned tabs, app tabs have no option to unpin them. I am not
sure if there is currently any way to quickly distinguish them from
pinned tabs, except by trying to unpin them.
Unlike the plan for ChromiumOS it appears that an app launcher is not
planned for Chromium.
The logical behavior here would vary upon
whether the setting to restore tabs is set. If it is set, the tabs
should be restored in the state they were in when closed. If the
restore tabs setting is not set, then logically app tabs and app tabs
lite should be restored as phantom tabs, and a regular tab should be
opened and have focus (with the new tab page or homepage as
applicable).
It's actually a bit more subtle than that. There are two variants of these:
. You install an app and it opens an app tab. These are visually
rendered differently than pinned tabs and in view code are called
nano-tabs.
. If you have installed an app and you navigate to a page that falls
under the extent of an extension, then the tab gets currently gets the
bigger icon. This type of tab is not rendered as a mini or nano tab
though, and we may not make it get the bigger icon at some point.
> The
> extension specifies the main page of the webapp. It might also have
> other behavior, such as background polling the webapp, to allow it to
> change the app tab's (or corresponding phantom tab's) favicon to
> indicate unread messages, among many other possibilities.
>
> Unlike pinned tabs, app tabs have no option to unpin them.
You can pin/unpin these tabs, but they always visually render the
same. A pinned app tabs goes phantom when you close it, where as an
unpinned app tab closes when you close it.
> I am not
> sure if there is currently any way to quickly distinguish them from
> pinned tabs, except by trying to unpin them. There was some talk about
> letting app tabs have larger icons, although scaling favicons does not
> generally look good, so I don't believe that is implemented. I am
> uncertain if it has been implemented, but app tabs should have all
> external links open in a new tab, much like what was once planned for
> pinned tabs.
They can specify a bigger icon (24x24, SMALLISH (yes, it's an awful name)).
> App tabs were implemented utilizing the existing code for pinned tabs.
> As a result, while the code was being developed, for a short while
> pinned tabs were not available. this caused some level of outcry.
The feature was removed for different reasons.
> However pinned tabs have since been restored, although the ability to
> pin and unpin them by dragging the tabs has since been removed, and as
> far as I can tell, there are currently no plans to restore this, since
> the behavior was actually surprising.
Yes, that's right.
> Unlike the plan for ChromiumOS it appears that an app launcher is not
> planned for Chromium. As a result, there needs to be some way to
> reopen apps that have been closed. To this end phantom tabs were
> invented.
Phantom tabs were added to allow you to reserve real estate for
frequently used tabs while at the same time freeing up resources.
> Phantom tabs have no rendering engine attached, and unlike
> other forms of tabs, they do not prevent the window from closing. When
> an app tab is closed it becomes a phantom tab. When a phantom tab
> corresponding to an app tab is clicked, it is converted into a full
> app tab, with the main page of the app (as specified by the Chromium
> extension) being the displayed page. Currently phantom tabs can be
> visually distinguished by being less opaque than other mini tabs.
>
> Now, as a result of code sharing, currently pinned tabs have inherited
> pretty much all the behavior of app tabs, except that they can be
> unpinned.
You can also pin/unpin app tabs, but it gives slightly different behavior.
We are experimenting with other differences. For example, app tabs
might hide the toolbar completely.
> Either way, the url bar and
> links on the page should treat external sites the same, shouldn't
> they?
>
> Has the code to have external links for app tabs open in a new tab
> been implemented?
These are still up in the air.
> Has it been documented how to create an extension hat makes an app
> tab? If so where? If not, when is this going to be documented?
Not sure. Perhaps one of the extensions guys can comment.
> Phantom tabs are distinguishable by the reduced opacity, although at
> least with the default skin they can be rather difficult to
> distinguish from regular mini tabs. Are there any plans to rectify
> this? One possibility that sounds good to me, is to leave the favicon
> fully opaque, but turn the opacity of the tab itself all the way down
> to being completely transparent. the result is that phantom tabs look
> like just icons floating in the tabbar. That makes them easy to
> distinguish from other mini tabs. Furthermore, they would not actually
> look like tabs, which would make why the window can close even with
> them still there seem more intuitive. Thoughts?
We've tried different things. I believe most folks are happy with the
current look.
-Scott
> - - - - -
>
> I do look forward to the point where the app tab features are finished
> and available in chrome, so I can have extensions that create app tabs
> for some of frequently used webapps, especially GMail and Google
> calendar.
>
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
>
http://code.google.com/chrome/apps/docs/developers_guide.html
- a
It's in the public repository (we try to develop everything in the
open). Search for nano in
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/views/tabs/tab.cc?revision=48647&view=markup
. It's purely a view name though.
Yes.
> If so, the larger icon is stored as part of the extension?
The url Aaron just sent around documents how extensions specify other
icons, including the one used by the tabstrip.
-Scott
Undecided.
> The way App tabs will be launched in regular chromium (rather than
> ChromiumOS) is still to be determined, but at the moment they are
> listed on the new tab screen.
>
> That sound about right?
Other than the above, everything related to extensions is correct.
- a
On Jun 9, 2:05 pm, Peter Kasting <pkast...@google.com> wrote:> Our current thinking is to reverse this, actually: navigations to a new host> navigate the current tab. Seehttp://code.google.com/p/chromium/issues/detail?id=29281#c9;
> in a pinned tab would be kicked to another tab, while explicit typing would
> implementations welcome.
Sounds sane for pinned regular tabs, but I'm not sure if typing in the
omnibar should should allow converting an app tab (regardless of
pinned status) to a regular tab.
if my settingis to open a new page when I start the browser, that should still
happen, and should be the selected tab. Similarly, If I have it set
to show my homepage on startup, I should get a tab with my homepage.
Does anyone know if we can run each V8 Benchmark test (e.g. splay) individually from the browser?
Thanks in advance.
-John
--