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

Issue 342003006: Turn 'browser' app into a 'launcher_ui' app that window_manager embeds. (Closed)

Created:
6 years, 6 months ago by Aaron Boodman
Modified:
6 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Turn 'browser' app into a 'launcher' app that window_manager embeds. This also adds the 'RequestNavigate' part of the navigation protocol. I will rename the mojo_browser target and related names to mojo_launcher_ui in a separate CL. This depends on https://codereview.chromium.org/331323007/. BUG=386275 R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278312

Patch Set 1 : cleanup #

Total comments: 4

Patch Set 2 : ben comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -106 lines) Patch
M mojo/examples/browser/browser.cc View 1 9 chunks +24 lines, -61 lines 0 comments Download
M mojo/examples/window_manager/window_manager.cc View 1 5 chunks +96 lines, -35 lines 0 comments Download
M mojo/mojo_examples.gypi View 2 chunks +1 line, -1 line 0 comments Download
M mojo/mojo_services.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/launcher/launcher.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M mojo/services/navigation/navigation.mojom View 1 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/services/public/interfaces/launcher/launcher.mojom View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Aaron Boodman
6 years, 6 months ago (2014-06-19 00:10:54 UTC) #1
Ben Goodger (Google)
lgtm. i will tweak some of the views usage in here once you're done with ...
6 years, 6 months ago (2014-06-19 02:48:44 UTC) #2
darin (slow to review)
It occurs to me that "Navigator" might also be a good name for this thing ...
6 years, 6 months ago (2014-06-19 03:28:43 UTC) #3
Aaron Boodman
Yeah, I was considering that... I wasn't sure, since it seems like maybe the search ...
6 years, 6 months ago (2014-06-19 05:07:10 UTC) #4
darin (slow to review)
Ah, I had assumed this would grow that functionality. -Darin On Wed, Jun 18, 2014 ...
6 years, 6 months ago (2014-06-19 05:11:40 UTC) #5
Aaron Boodman
https://codereview.chromium.org/342003006/diff/40001/mojo/examples/browser/browser.cc File mojo/examples/browser/browser.cc (right): https://codereview.chromium.org/342003006/diff/40001/mojo/examples/browser/browser.cc#newcode28 mojo/examples/browser/browser.cc:28: class NodeView : public views::View { On 2014/06/19 02:48:44, ...
6 years, 6 months ago (2014-06-19 06:20:07 UTC) #6
Aaron Boodman
The CQ bit was checked by aa@chromium.org
6 years, 6 months ago (2014-06-19 06:20:36 UTC) #7
Aaron Boodman
The CQ bit was unchecked by aa@chromium.org
6 years, 6 months ago (2014-06-19 06:20:40 UTC) #8
Aaron Boodman
The CQ bit was checked by aa@chromium.org
6 years, 6 months ago (2014-06-19 06:20:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/342003006/60001
6 years, 6 months ago (2014-06-19 06:22:50 UTC) #10
Aaron Boodman
Committed patchset #2 manually as r278312 (presubmit successful).
6 years, 6 months ago (2014-06-19 09:14:21 UTC) #11
Aaron Boodman
6 years, 6 months ago (2014-06-19 09:58:06 UTC) #12
You know on second thought, 'browser' isn't such a bad name for this. It's
not the way we usually use the word 'browser', but it's just as accurate as
'navigator'. I think I will leave it as 'browser' for now.

I'm not crazy about using 'navigator' here because we also have the system
interfaces Navigator and NavigatorHost and there could be confusion that
the service is related to those interfaces more closely than it actually is.

- a


On Wed, Jun 18, 2014 at 10:11 PM, Darin Fisher <darin@chromium.org> wrote:

> Ah, I had assumed this would grow that functionality.
>
> -Darin
>
>
> On Wed, Jun 18, 2014 at 10:06 PM, Aaron Boodman <aa@chromium.org> wrote:
>
>> Yeah, I was considering that...
>>
>> I wasn't sure, since it seems like maybe the search UI, which is really
>> what this is, is separable from the history stack and navigation. Maybe
>> navigation/history is yet another application, and *that* is called
>> navigator...
>>
>>
>> On Wed, Jun 18, 2014 at 8:28 PM, Darin Fisher <darin@chromium.org> wrote:
>>
>>> It occurs to me that "Navigator" might also be a good name for this
>>> thing ;-)
>>>
>>> -Darin
>>>
>>>
>>> On Wed, Jun 18, 2014 at 7:48 PM, <ben@chromium.org> wrote:
>>>
>>>> lgtm. i will tweak some of the views usage in here once you're done
>>>> with this &
>>>> have moved it where you want it to go.
>>>>
>>>>
>>>> https://codereview.chromium.org/342003006/diff/40001/mojo/
>>>> examples/browser/browser.cc
>>>> File mojo/examples/browser/browser.cc (right):
>>>>
>>>> https://codereview.chromium.org/342003006/diff/40001/mojo/
>>>> examples/browser/browser.cc#newcode28
>>>> mojo/examples/browser/browser.cc:28: class NodeView : public
>>>> views::View
>>>> {
>>>> i think you can delete this class now too
>>>>
>>>> https://codereview.chromium.org/342003006/diff/40001/mojo/
>>>> examples/browser/browser.cc#newcode130
>>>> mojo/examples/browser/browser.cc:130:
>>>> navigator_host_->RequestNavigate(view_manager_-
>>>> >GetRoots().front()->id(),
>>>> cool!
>>>>
>>>> https://codereview.chromium.org/342003006/diff/40001/mojo/
>>>> examples/browser/browser.cc#newcode138
>>>> mojo/examples/browser/browser.cc:138: // Ghetto workaround for
>>>> crbug.com/386256.
>>>> lol
>>>>
>>>> https://codereview.chromium.org/342003006/
>>>>
>>>
>>>
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698