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

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed)

Created:
9 years, 6 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
oshima, sadrul, sky
CC:
chromium-reviews, brettw-cc_chromium.org, dhollowa
Visibility:
Public.

Description

Add an option to run Chrome in the views desktop. - Add a BrowserFrameViews stub. - Add a NativeTabContentsViewViews stub. - Allow the omnibox to run in pure-views mode on Windows too. - Make the RenderWidgetHostViewViews build on Windows. chrome --use-pure-views --views-desktop runs, shows a browser window, but doesn't really do anything else. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90242

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 10

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -329 lines) Patch
M chrome/browser/browser_main.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.h View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 2 3 4 5 12 chunks +12 lines, -250 lines 0 comments Download
A chrome/browser/renderer_host/render_widget_host_view_views_gtk.cc View 1 2 3 4 5 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/render_widget_host_view_views_touch.cc View 1 2 3 4 5 6 1 chunk +189 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/render_widget_host_view_views_win.cc View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_gtk.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_views.h View 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_views.cc View 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_win.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 12 chunks +72 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc View 1 2 3 4 5 6 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 chunks +13 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M views/desktop/desktop_main.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M views/desktop/desktop_window.h View 1 2 3 4 2 chunks +12 lines, -12 lines 0 comments Download
M views/desktop/desktop_window.cc View 1 2 3 4 3 chunks +19 lines, -26 lines 0 comments Download
M views/views.gyp View 1 2 3 4 2 chunks +52 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ben Goodger (Google)
sadrul: render_widget_host_view_views* sky/oshima: everything else
9 years, 6 months ago (2011-06-21 21:00:35 UTC) #1
sky
I think you need to add views_desktop_lib to browser.gyp some how. -Scott http://codereview.chromium.org/7206055/diff/5024/chrome/browser/renderer_host/render_widget_host_view_views.cc File chrome/browser/renderer_host/render_widget_host_view_views.cc ...
9 years, 6 months ago (2011-06-21 21:52:11 UTC) #2
oshima
http://codereview.chromium.org/7206055/diff/5024/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/7206055/diff/5024/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1244 chrome/browser/ui/views/location_bar/location_bar_view.cc:1244: OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { Looks like this shouldn't return NULL. ...
9 years, 6 months ago (2011-06-21 22:36:07 UTC) #3
Ben Goodger (Google)
Am currently building on Linux and will update this with build fixes + updates to ...
9 years, 6 months ago (2011-06-21 22:54:48 UTC) #4
sky
LGTM once you straighten out the gyp files.
9 years, 6 months ago (2011-06-21 23:19:50 UTC) #5
Ben Goodger (Google)
Updated.
9 years, 6 months ago (2011-06-21 23:26:25 UTC) #6
oshima
LGTM with nits. http://codereview.chromium.org/7206055/diff/1048/chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc (right): http://codereview.chromium.org/7206055/diff/1048/chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc#newcode68 chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc:68: const gfx::Point& image_offset) { NOTIMPLEMENTED() http://codereview.chromium.org/7206055/diff/1048/chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc#newcode79 ...
9 years, 6 months ago (2011-06-21 23:40:50 UTC) #7
sadrul
9 years, 6 months ago (2011-06-22 01:49:05 UTC) #8
> sadrul: render_widget_host_view_views*

render_widget_host_view_views_gtk.cc scared me at first, but once I look at it
and ponder, it makes good sense. LGTM.

> sky/oshima: everything else

Powered by Google App Engine
This is Rietveld 408576698