![]() The list of all available examples can be found in README. Just build and run the following commands: $ autoninja - C out / Default views_examples Views_examples and views_examples_with_content are two programs that list those controls and show examples on how to use them. Target DebuggerĮver wonder what common controls the Views framework provides? And how to customize them? ![]() Once being loaded into the debugger, they would provide custom commands such as printing out a view's properties or the view hierarchy information. Debugger Extensions/Scriptsįor developers who prefer to use debuggers, some debugger extensions or scripts can be helpful. Thus, UI developers are able to examine the UI structure, individual view's layout and properties etc.ĭetailed usage information and feature tutorials can be found in this doc. Once being enabled, UI DevTools can be launched through a button on chrome://inspect#native-ui page. Execute chromium/chrome with -enable-ui-devtools command line flag.Enable ui-debug-tools flag from chrome://flags.They largely resemble the Web DevTools used by Web developers. UI DevTools is a set of graphical inspection and debugging tools for Chromium native UI. Print out all the views on the Views tree with their properties in details Print out the current Views tree hierarchy Toggle between non-Tablet mode and Tablet mode UI Debugging ShortcutsĪfter enabling ui-debug-tools flag from chrome://flags, developers will be able to use the following keyboard shortcuts: Actions To help develop and debug Chromium desktop UI, this doc shares a set of developer tools and their usages. Chromium Desktop UI Debugging Tools and Tips
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |