What is a WebContents(Impl)

229 views
Skip to first unread message

18楼梦想改造家

unread,
Oct 8, 2023, 3:07:47 AM10/8/23
to Chromium-dev
Hey, I have so confusion about `|webcontent(Impl)|:`

```
// WebContents is the core class in content/. A WebContents renders web content
// (usually HTML) in a rectangular area.
```

and this task(Chrome University 2018: Life of a Navigation - YouTube) say webcontent is a webpage area which not include the tab area. But I have see we have a term named "inner webcontent"?

So:
1. What ius a Webcontent real is
2. when time we could have `|inner webcontent|`.

Thx!

K. Moon

unread,
Oct 8, 2023, 10:28:13 AM10/8/23
to 18楼梦想改造家, Chromium-dev
A WebContents is what your other sources said it was (the contents of a tab, more or less).

The confusing part about an "inner" WebContents only applies to guest views, which are an obsolete technology to embed another Web view inside of a WebContents. They're generally only used in certain legacy situations, and I'd ignore them unless you need to understand guest views.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1d5c97fb-90f3-431f-88ff-3291266d7902n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages