Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 5785001: A NativeViewHostViews class for embedding views inside NativeHostView instances. (Closed)

Created:
10 years ago by Alex Nicolaou
Modified:
9 years ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

A NativeHostViewViews class for embedding views inside NativeHostView instances. BUG=none TEST=manually on touchui build Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69551

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed the location of the cast as per discussion with ben #

Total comments: 6

Patch Set 3 : Updated per Ben's comments #

Patch Set 4 : Fixed up the patchset to not include files that I pulled in by accident in #3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -6 lines) Patch
M chrome/browser/ui/views/dom_view.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/dom_view.cc View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M views/controls/native/native_view_host.h View 3 chunks +12 lines, -1 line 0 comments Download
M views/controls/native/native_view_host.cc View 7 chunks +23 lines, -2 lines 0 comments Download
A views/controls/native/native_view_host_views.h View 1 chunk +46 lines, -0 lines 0 comments Download
A views/controls/native/native_view_host_views.cc View 1 chunk +75 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Alex Nicolaou
The NativeViewHostViews class we discussed last week.
10 years ago (2010-12-10 05:33:43 UTC) #1
Alex Nicolaou
The NativeViewHostViews class we discussed that week, with typos in your email and class name ...
10 years ago (2010-12-10 05:35:58 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/5785001/diff/1/chrome/browser/tab_contents/tab_contents.cc File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/5785001/diff/1/chrome/browser/tab_contents/tab_contents.cc#newcode118 chrome/browser/tab_contents/tab_contents.cc:118: #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" Don't add this here - it's a ...
10 years ago (2010-12-10 15:42:57 UTC) #3
Alex Nicolaou
Do you have a specific file in which you want to see the cast? alex ...
10 years ago (2010-12-10 18:05:23 UTC) #4
Ben Goodger (Google)
Someplace other than tab_contents.*, which is not supposed to know about ui/views really. :-) Ideally, ...
10 years ago (2010-12-10 18:15:17 UTC) #5
Alex Nicolaou
Fixed (hopefully) to be the way you wanted - PTAL
10 years ago (2010-12-15 18:28:28 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/tab_contents.h File chrome/browser/tab_contents/tab_contents.h (right): http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/tab_contents.h#newcode61 chrome/browser/tab_contents/tab_contents.h:61: namespace views { This is no longer needed. http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/tab_contents.h#newcode459 ...
10 years ago (2010-12-15 18:32:28 UTC) #7
Alex Nicolaou
Thanks for the lightning fast review! Here's the next round - think I got everything, ...
10 years ago (2010-12-16 22:34:48 UTC) #8
Ben Goodger (Google)
10 years ago (2010-12-16 22:54:12 UTC) #9
OK LGTM

On Thu, Dec 16, 2010 at 2:34 PM, <anicolao@chromium.org> wrote:

> Thanks for the lightning fast review! Here's the next round - think I got
> everything, please take another look.
>
> alex
>
>
>
>
>
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/...
> File chrome/browser/tab_contents/tab_contents.h (right):
>
>
>
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/...
> chrome/browser/tab_contents/tab_contents.h:61: namespace views {
> On 2010/12/15 18:32:28, Ben Goodger wrote:
>
>> This is no longer needed.
>>
>
> Done.
>
>
>
>
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/tab_contents/...
> chrome/browser/tab_contents/tab_contents.h:459: TabContentsView*
> GetTabContentsView();
> On 2010/12/15 18:32:28, Ben Goodger wrote:
>
>> TabContentsView* view() const { return view_.get(); }
>>
>
> Oh <duh> I didn't see this was already in the file. I'd used a longer
> name to try to avoid creating confusion about this method (as you'd
> think view would return a View but it doesn't) but since the other entry
> point is already here I deleted this one.
>
>
>
>
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/ui/views/dom_...
> File chrome/browser/ui/views/dom_view.cc (right):
>
>
>
http://codereview.chromium.org/5785001/diff/8001/chrome/browser/ui/views/dom_...
> chrome/browser/ui/views/dom_view.cc:77: Detach();
> On 2010/12/15 18:32:28, Ben Goodger wrote:
>
>> Looks like you might actually not need this method other than for
>>
> symmetry.
>
>> Instead... just add a comment to AttachTabContents is only needed
>>
> because the 2
>
>> different types of attachable view.
>>
>
> I prefer the symmetry but done.
>
>
> http://codereview.chromium.org/5785001/
>

Powered by Google App Engine
This is Rietveld 408576698