博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Browser Window
阅读量:7260 次
发布时间:2019-06-29

本文共 1869 字,大约阅读时间需要 6 分钟。

‎ > ‎ ‎ > ‎

Browser Window

The Chromium browser window is represented by several objects, some of which are included in this diagram:
 

Frame

The frame is the portion of the browser window that includes the title bar, sizing borders, and other areas traditionally known as the "non-client" areas in Windows terminology. We supply a frame (called BrowserFrame) that subclasses the views::Widget class that adds some additional handling on Vista for DWM adjustments behind the TabStrip, etc.
On Windows Vista, we only use the glass mode when desktop compositing is enabled; in Classic or Vista Basic modes we use the XP Luna mode. Because the user is able to toggle the compositing on and off by changing Windows themes, we need to be able to dynamically change frame mode. For more information about how this is done in views, see the  . The browser window provides two NonClientFrameView subclasses - GlassBrowserFrameView and OpaqueBrowserFrameView which are swapped in the BrowserFrame's NonClientView when DWM is toggled.
 
Browser View
The BrowserView object contains all of the elements that are common between the frames that are part of the presentation of the browser window - the tab strip, the toolbar, the bookmarks bar, and other elements of the UI. When the frame changes, this View is inserted into the new NonClientView.
 
The BrowserView implements an interface called BrowserWindow, which the Browser object uses to interact with the View.

Browser

This is the core state and command execution component of a Browser window. It interacts with an abstract Browser Window interface to update the UI. This allows us to write unit tests that supply a windowless "testing view" and then execute high-level functionality within the browser from within the unit testing framework, rather than running UI tests.

 

转载于:https://www.cnblogs.com/huangguanyuan/p/9984840.html

你可能感兴趣的文章
人脸识别必读的优秀论文
查看>>
vuejs 过渡效果
查看>>
c++学习
查看>>
jquery 1.9以上新版本不支持toggle()的解决方法
查看>>
php 使用curl 将文件上传
查看>>
开源|如何使用CNN将视频从2D到3D进行自动转换(附源代码)
查看>>
mac电脑使用,开发环境配置指南
查看>>
Docker 安装Hadoop HDFS命令行操作
查看>>
第五章:模型
查看>>
SQLSERVER记录登录用户的登录时间
查看>>
通过 Spring RestTemplate 调用带请求体的 Delete 方法(Delete With Request Body)
查看>>
Oracle 执行计划说明
查看>>
go - 复合类型 array, slice, map
查看>>
Android 仿PhotoShop调色板应用(三) 主体界面绘制
查看>>
[裴礼文数学分析中的典型问题与方法习题参考解答]5.1.10
查看>>
iOS:UIPageViewController翻页控制器控件详细介绍
查看>>
【环境配置】配置ndk
查看>>
习题----第六章 图(转)
查看>>
FDMB 增删改删 查 分页 封装
查看>>
linux添加ssh用户
查看>>