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

Issue 10387110: Remove VIEW_TYPE_WEB_CONTENTS and make default view type INVALID. (Closed)

Created:
8 years, 7 months ago by Aaron Boodman
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jam, yoshiki+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, Satish, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove VIEW_TYPE_WEB_CONTENTS and make default view type INVALID. The view type enum is supposed to represent the 'type of view' in the user sense, so 'tab', 'background page', 'popup', etc. A 'web contents' is not a type of view, it's an implementation detail of many different view types. This was essentially resulting in too many WebContents instances being treated as tabs. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136835

Patch Set 1 #

Patch Set 2 : remove stray comment #

Total comments: 1

Patch Set 3 : fix other comment #

Total comments: 1

Patch Set 4 : blah #

Messages

Total messages: 5 (0 generated)
Aaron Boodman
avi: please review content/ benwells: please review other stuffs https://chromiumcodereview.appspot.com/10387110/diff/2001/chrome/common/chrome_view_type.h File chrome/common/chrome_view_type.h (right): https://chromiumcodereview.appspot.com/10387110/diff/2001/chrome/common/chrome_view_type.h#newcode21 chrome/common/chrome_view_type.h:21: ...
8 years, 7 months ago (2012-05-14 01:09:01 UTC) #1
benwells
lgtm, thanks for doing this.
8 years, 7 months ago (2012-05-14 01:41:43 UTC) #2
Avi (use Gerrit)
lgtm https://chromiumcodereview.appspot.com/10387110/diff/4001/chrome/common/chrome_view_type.h File chrome/common/chrome_view_type.h (right): https://chromiumcodereview.appspot.com/10387110/diff/4001/chrome/common/chrome_view_type.h#newcode13 chrome/common/chrome_view_type.h:13: // Icky RTTI used by a few systems ...
8 years, 7 months ago (2012-05-14 01:49:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/10387110/1012
8 years, 7 months ago (2012-05-14 05:28:19 UTC) #4
commit-bot: I haz the power
8 years, 7 months ago (2012-05-14 05:28:27 UTC) #5
Presubmit check for 10387110-1012 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Messages **
If this change has an associated bug, add BUG=[bug number].

If this change requires manual test instructions to QA team, add
TEST=[instructions].

** Presubmit ERRORS **
Missing LGTM from an OWNER for files in these directories:
    chrome/browser/bookmarks

Presubmit checks took 1.9s to calculate.

Was the presubmit check useful? Please send feedback & hate mail to
maruel@chromium.org!

Powered by Google App Engine
This is Rietveld 408576698