您的位置:首页 > 其它

基类

2016-05-18 16:30 211 查看
//WindowImpl Class

//A convenience class that encapsulates the details of creating and

//destroying a HWND. This class also hosts the windows procedure used by all Windows.

位于:src\ui\gfx\win\window_impl.h

/////////////////////////////////////////////////////////////////////////////

//

// View class

//

// A View is a rectangle within the views View hierarchy. It is the base

// class for all Views.

//

// A View is a container of other Views (there is no such thing as a Leaf

// View - makes code simpler, reduces type conversion headaches, design

// mistakes etc)

//

// The View contains basic properties for sizing (bounds), layout (flex,

// orientation, etc), painting of children and event dispatch.

//

// The View also uses a simple Box Layout Manager similar to XUL's

// SprocketLayout system. Alternative Layout Managers implementing the

// LayoutManager interface can be used to lay out children if required.

//

// It is up to the subclass to implement Painting and storage of subclass -

// specific properties and functionality.

//

// Unless otherwise documented, views is not thread safe and should only be

// accessed from the main thread.

//

/////////////////////////////////////////////////////////////////////////////

位于:src\ui\views\view.h

////////////////////////////////////////////////////////////////////////////////

// BrowserWindow interface

// An interface implemented by the "view" of the Browser window.

// This interface includes ui::BaseWindow methods as well as Browser window

// specific methods.

//

// NOTE: All getters may return NULL.

//

位于:src\chrome\browser\ui\browser_window.h
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: