Commit 09d45bfb authored by Tao Bai's avatar Tao Bai Committed by Commit Bot

Display WebView description in devtools

Fixed this issue by overriding GetDescription().

Bug: 1059071
Change-Id: I7def9efbf3b9ae1d86511b875b8e44af60c99a56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090727Reviewed-by: default avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Tao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747798}
parent f7f4eb4c
...@@ -63,4 +63,8 @@ base::TimeTicks ForwardingAgentHost::GetLastActivityTime() { ...@@ -63,4 +63,8 @@ base::TimeTicks ForwardingAgentHost::GetLastActivityTime() {
return delegate_->GetLastActivityTime(); return delegate_->GetLastActivityTime();
} }
std::string ForwardingAgentHost::GetDescription() {
return delegate_->GetDescription();
}
} // content } // content
...@@ -36,6 +36,7 @@ class ForwardingAgentHost : public DevToolsAgentHostImpl { ...@@ -36,6 +36,7 @@ class ForwardingAgentHost : public DevToolsAgentHostImpl {
void Reload() override; void Reload() override;
bool Close() override; bool Close() override;
base::TimeTicks GetLastActivityTime() override; base::TimeTicks GetLastActivityTime() override;
std::string GetDescription() override;
std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_;
DISALLOW_COPY_AND_ASSIGN(ForwardingAgentHost); DISALLOW_COPY_AND_ASSIGN(ForwardingAgentHost);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment