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

Issue 7906008: Create a very simple TabContentsView (and not fully implemented yet) and add more supporting code... (Closed)

Created:
9 years, 3 months ago by jam
Modified:
9 years, 3 months ago
CC:
chromium-reviews, dpranke+watch-content_chromium.org, joi+watch-content_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, rdsmith+dwatch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Create a very simple TabContentsView (and not fully implemented yet) and add more supporting code to be able to load a page. Right now it's not rendering, but I suspect it's something small, and the patch has gotten large so I figure it's time to send it for review. BUG=90445 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101395

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+956 lines, -136 lines) Patch
M chrome/browser/browser_process_impl.h View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 5 chunks +1 line, -7 lines 0 comments Download
D chrome/browser/browser_process_sub_thread.h View 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/browser/browser_process_sub_thread.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M chrome/browser/chrome_browser_main_gtk.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 2 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/io_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/browser_main.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/browser_main.cc View 3 chunks +3 lines, -1 line 0 comments Download
A + content/browser/browser_process_sub_thread.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/browser_process_sub_thread.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/download/download_manager_delegate.h View 2 chunks +2 lines, -1 line 0 comments Download
A content/browser/tab_contents/tab_contents_view_win.h View 1 chunk +89 lines, -0 lines 0 comments Download
A content/browser/tab_contents/tab_contents_view_win.cc View 1 chunk +219 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
A content/shell/shell_browser_context.h View 1 chunk +78 lines, -0 lines 1 comment Download
A content/shell/shell_browser_context.cc View 1 chunk +380 lines, -0 lines 1 comment Download
M content/shell/shell_browser_main.h View 1 chunk +49 lines, -0 lines 0 comments Download
M content/shell/shell_browser_main.cc View 1 chunk +86 lines, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.h View 2 chunks +11 lines, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.cc View 3 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
Will: shell_browser_context.* Avi: everything else
9 years, 3 months ago (2011-09-15 18:05:28 UTC) #1
Avi (use Gerrit)
lgtm How much of the TabContentViews are we looking to move from Chrome?
9 years, 3 months ago (2011-09-15 18:12:49 UTC) #2
jam
On 2011/09/15 18:12:49, Avi wrote: > lgtm > > How much of the TabContentViews are ...
9 years, 3 months ago (2011-09-15 18:16:26 UTC) #3
willchan no longer on Chromium
Sorry, flight got delayed. I'll look later in the afternoon when I land and go ...
9 years, 3 months ago (2011-09-15 18:17:24 UTC) #4
Avi (use Gerrit)
Oh. Didn't realize content didn't rely on views.
9 years, 3 months ago (2011-09-15 18:22:09 UTC) #5
willchan no longer on Chromium
9 years, 3 months ago (2011-09-15 22:01:28 UTC) #6
LGTM

It's very minimal, but I believe it's functionally correct. Some refactoring may
be warranted in the future, and it doesn't support everything yet, such as HTML5
schemes.

http://codereview.chromium.org/7906008/diff/1/content/shell/shell_browser_con...
File content/shell/shell_browser_context.cc (right):

http://codereview.chromium.org/7906008/diff/1/content/shell/shell_browser_con...
content/shell/shell_browser_context.cc:122: job_factory_.reset(new
net::URLRequestJobFactory);
In order to get web platform schemes like blob: and filesystem:, you will need
to add protocol handlers for them here. It sounds like the code for this in
profile_io_data.cc should be made public and put into content/browser. Perhaps a
content/browser/net is warranted for this.

http://codereview.chromium.org/7906008/diff/1/content/shell/shell_browser_con...
File content/shell/shell_browser_context.h (right):

http://codereview.chromium.org/7906008/diff/1/content/shell/shell_browser_con...
content/shell/shell_browser_context.h:73:
DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
This is defined in basictypes.h

Powered by Google App Engine
This is Rietveld 408576698