I chatted with Evan as well and he's said there's going to be
linux-specific rendering in some components of the UI so that answers
my question.

-Ben

On Tue, Mar 3, 2009 at 2:33 PM, James Hawkins <jhawk...@chromium.org> wrote:
> Our initial estimation is that it would take significantly longer to
> port what we need from Views than implementing what is needed by
> tabstrip with gtk directly.  Most of our UI that's been brought up so
> far is directly implemented using gtk, so this design follows that
> pattern.
>
> On Tue, Mar 3, 2009 at 2:15 PM, Ben Goodger (Google) <b...@chromium.org> 
> wrote:
>> OK. I understand what you're doing.
>>
>> I still don't understand then why given the identical rendering on
>> Windows and Linux why is this approach easier than using Views/Canvas
>> for that last 15% (rendering, hit testing)? Sorry to keep harping on
>> this but the Mac display tree is totally different from the Windows
>> one so I understand why it makes sense to have a lot of different code
>> in that case.
>>
>> -Ben
>>
>> On Tue, Mar 3, 2009 at 2:02 PM, James Hawkins <jhawk...@chromium.org> wrote:
>>> Yes that is the case.
>>>
>>> On Tue, Mar 3, 2009 at 1:57 PM, Ben Goodger (Google) <b...@chromium.org> 
>>> wrote:
>>>>
>>>> Because you're reusing display methods that retrieve metrics, I assume
>>>> your tabstrip will have exactly the same bounds for itself and its
>>>> contents as the windows one?
>>>>
>>>> -Ben
>>>>
>>>> On Tue, Mar 3, 2009 at 11:49 AM, James Hawkins <jhawk...@chromium.org> 
>>>> wrote:
>>>> > On Tue, Mar 3, 2009 at 11:36 AM, Ben Goodger (Google) 
>>>> > <b...@chromium.org> wrote:
>>>> >> Can you give a more detailed breakdown of the code/methods that'll be
>>>> >> moved to the shared base?
>>>> >>
>>>> >
>>>> > To be shared:
>>>> > * All of the TabAnimation classes.
>>>> > * The following methods:
>>>> >  - GetPreferredHeight
>>>> >  - CanProcessInputEvents
>>>> >  - PointIsWithinWindowCaption, though we don't have a custom frame on 
>>>> > linux yet
>>>> >  - IsCompatibleWith
>>>> >  - IsAnimating
>>>> >  - model
>>>> >  - IsDragSessionActive
>>>> >  - AbortActiveDragSession
>>>> >  - DestroyDragController
>>>> >  - DestroyDraggedSourceTab
>>>> >  - GetIdealBounds
>>>> >  - UpdateLoadingAnimations
>>>> >  - TabStripModelObserver implemenation
>>>> >  - Tab::Delegate implemenation
>>>> >  - GetTabAt
>>>> >  - GetTabAtAdjustForAnimation
>>>> >  - GetTabCount
>>>> >  - GetCurrentTabWidths
>>>> >  - GetDesiredTabWidths
>>>> >  - ResizeLayoutTabs
>>>> >  - all of the methods under the Animations section
>>>> >
>>>> > It's probably easier to look at it from the other side though, i.e.
>>>> > how much are we taking out of TabStrip?
>>>> > * The following inherited super-classes:
>>>> >  - views::View
>>>> >  - views::Button::ButtonListener
>>>> >  - MessageLoopForUI::Observer
>>>> > * Any platform-specific code, usually Views overrides.
>>>> >
>>>> > --
>>>> > James Hawkins
>>>> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to