feat: add a 'title' parameter to openDevTools()
(#39047)
* [Feature Request]: Add a parameter to openDevTools() that sets the DevTools window title bar * all titles->title * add GetDevToolsTitle(),update docs * fix:lint error * fix:lint error * add setDevToolTitle * lint errror * lint errror * ling errror (.md) * build error * build error in mac * build error * build error * change docs * std::string->std::u16string * lint error * build error * build error
This commit is contained in:
parent
8e3dcc8b17
commit
127584dc37
13 changed files with 90 additions and 5 deletions
|
@ -59,9 +59,11 @@ class InspectableWebContents
|
|||
void ReleaseWebContents();
|
||||
void SetDevToolsWebContents(content::WebContents* devtools);
|
||||
void SetDockState(const std::string& state);
|
||||
void SetDevToolsTitle(const std::u16string& title);
|
||||
void ShowDevTools(bool activate);
|
||||
void CloseDevTools();
|
||||
bool IsDevToolsViewShowing();
|
||||
std::u16string GetDevToolsTitle();
|
||||
void AttachTo(scoped_refptr<content::DevToolsAgentHost>);
|
||||
void Detach();
|
||||
void CallClientFunction(
|
||||
|
@ -207,6 +209,7 @@ class InspectableWebContents
|
|||
gfx::Rect devtools_bounds_;
|
||||
bool can_dock_ = true;
|
||||
std::string dock_state_;
|
||||
std::u16string devtools_title_;
|
||||
bool activate_ = true;
|
||||
|
||||
raw_ptr<InspectableWebContentsDelegate> delegate_ =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue