UI Framework-1: Browser Window

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 views::Widgetdocumentation. 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/10072498.html

时间: 2024-08-30 11:44:01

UI Framework-1: Browser Window的相关文章

Hybrid UI framework shootout: Ionic vs. Famo.us vs. F7 vs. OnsenUI

1 Introduction In the past 2 years I’ve been working intensively on mobile applications, mostly hybrid, and mostly with AngularJS. In my quest to find a good UI framework that integrates with AngularJS, I came across the following options: IonicFrame

Browser Window

Window 对象 Window对象表示浏览器中打开的窗口. 如果文档包含框架(iframe或iframe标签),浏览器会被html文档创建一个window对象,并为每个框架创建一个额外的window对象. 注释:没有应用于window对象的公开标准,不过所有浏览器度支持该对象 window对象集合 iframes[] 返回窗口中所有命名的框架.该集合是window对象的数组,每个window对象在窗口中含有一个框架或<iframe>.属性frames.length存放数组iframes[]中

Make div 100% height of browser window/设置div等于浏览器的高度

Viewport-Percentage (or Viewport-Relative) Lengths Viewport-Percentage Lengths: The viewport-percentage lengths are relative to the size of the initial containing block. When the height or width of the initial containing block is changed, they are sc

Android UI framework architecture

1.http://elinux.org/images/d/dc/Inside_Android's_User_Interface.pdf 2.http://stackoverflow.com/questions/7776115/android-gui-architecture-relation-between-surface-view-window-canvas 3.https://himmele.googlecode.com/svn/trunk/Google%20Android/Android%

C++ UI framework

Name platform Description MFC windows http://en.wikipedia.org/wiki/Microsoft_Foundation_Classes WTL windows http://en.wikipedia.org/wiki/Windows_Template_Library Owl Windows outdated vcl Windows Outdated, cannot used by vc/gcc? smartWin++ windows htt

C# window Service实现调用有UI的应用程序(关于win xp以后的window系统)

用服务去打开一个UI程序,是不可能的,服务后台的进程所使用的用户是system,这个用户是不需要UI的,因此也就限制了打开有UI线程的应用.因此,你要打开一个UI线程,必须使用一个管理员权限的账号去打开程序,默认一个程序去打开另一个程序,后一个程序其使用的win账号是前一个程序的win账号. 我开发的系统中有一接口程序(这里就称Task,是一个C#的Console Application)经常无故的死掉,导致第二天的数据不能正常解析,所以,我写了一个window service去监视Task,如

[WPF自定义控件]?Window(窗体)的UI元素及行为

原文:[WPF自定义控件]?Window(窗体)的UI元素及行为 1. 前言 本来打算写一篇<自定义Window>的文章,但写着写着发觉内容太多,所以还是把使用WindowChrome自定义Window需要用到的部分基础知识独立出来,于是就形成了这篇文章. 无论是桌面编程还是日常使用,Window(窗体)都是最常接触的UI元素之一,既然Window这么重要那么多了解一些也没有坏处. 2.标准Window 这篇文章主要讨论标准的Window,不包括奇形怪状的无边框.非矩形Window,即只讨论W

Robot Framework自动化测试(三)---Selenium API

Robot  Framework  Selenium  API 说明: 此文档只是将最常用的UI 操作列出.更多方法请查找selenium 关键字库. 一.浏览器驱动 通过不同的浏览器执行脚本. Open Browser Htpp://www.xxx.com chrome 浏览器对应的关键字: firefox FireFox ff internetexplorer Internet Explorer ie googlechrome Google Chrome gc chrome opera Op

使用Visual Studio开发ASP.NET Core MVC and Entity Framework Core初学者教程

原文地址:https://docs.asp.net/en/latest/data/ef-mvc/intro.html The Contoso University sample web application demonstrates how to create ASP.NET Core 1.0 MVC web applications using Entity Framework Core 1.0 and Visual Studio 2015. Contoso University网络应用的案