🎨 lint fix
This commit is contained in:
parent
f360104bee
commit
4949531f57
8 changed files with 88 additions and 76 deletions
|
@ -749,7 +749,7 @@ void WebContents::RenderFrameCreated(content::RenderFrameHost* host) {
|
|||
host->GetRoutingID(), routing_id()));
|
||||
}
|
||||
|
||||
void WebContents::RenderFrameHostChanged(content::RenderFrameHost* old_host,
|
||||
void WebContents::RenderFrameHostChanged(content::RenderFrameHost* old_host,
|
||||
content::RenderFrameHost* new_host) {
|
||||
Send(new AtomAutofillViewHostMsg_RoutingId(
|
||||
new_host->GetRoutingID(), routing_id()));
|
||||
|
@ -1628,14 +1628,14 @@ void WebContents::OnCursorChange(const content::WebCursor& cursor) {
|
|||
void WebContents::OnShowAutofillPopup(
|
||||
int routing_id,
|
||||
const gfx::RectF& bounds,
|
||||
const std::vector<base::string16>& values,
|
||||
const std::vector<base::string16>& labels) {
|
||||
const std::vector<base::string16>& values,
|
||||
const std::vector<base::string16>& labels) {
|
||||
auto relay = reinterpret_cast<NativeWindowViews*>(
|
||||
NativeWindow::FromWebContents(web_contents()));
|
||||
autofill_popup_->CreateView(
|
||||
routing_id,
|
||||
web_contents(),
|
||||
relay->widget(),
|
||||
relay->widget(),
|
||||
bounds);
|
||||
autofill_popup_->SetItems(values, labels);
|
||||
}
|
||||
|
|
|
@ -309,7 +309,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;
|
||||
void RenderViewCreated(content::RenderViewHost*) override;
|
||||
void RenderFrameCreated(content::RenderFrameHost*) override;
|
||||
void RenderFrameHostChanged(content::RenderFrameHost*,
|
||||
void RenderFrameHostChanged(content::RenderFrameHost*,
|
||||
content::RenderFrameHost*) override;
|
||||
void RenderViewDeleted(content::RenderViewHost*) override;
|
||||
void RenderProcessGone(base::TerminationStatus status) override;
|
||||
|
@ -377,10 +377,10 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
|
||||
// Called when we receive a CursorChange message from chromium.
|
||||
void OnCursorChange(const content::WebCursor& cursor);
|
||||
|
||||
|
||||
void OnShowAutofillPopup(int routing_id,
|
||||
const gfx::RectF& bounds,
|
||||
const std::vector<base::string16>& values,
|
||||
const std::vector<base::string16>& values,
|
||||
const std::vector<base::string16>& labels);
|
||||
void OnHideAutofillPopup();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue