parent
af03e4a962
commit
4570330c7b
2 changed files with 4 additions and 9 deletions
|
@ -587,7 +587,7 @@ void WebContents::BeforeUnloadFired(content::WebContents* tab,
|
||||||
*proceed_to_fire_unload = true;
|
*proceed_to_fire_unload = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebContents::MoveContents(content::WebContents* source,
|
void WebContents::SetContentsBounds(content::WebContents* source,
|
||||||
const gfx::Rect& pos) {
|
const gfx::Rect& pos) {
|
||||||
Emit("move", pos);
|
Emit("move", pos);
|
||||||
}
|
}
|
||||||
|
@ -612,10 +612,6 @@ void WebContents::UpdateTargetURL(content::WebContents* source,
|
||||||
Emit("update-target-url", url);
|
Emit("update-target-url", url);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WebContents::IsPopupOrPanel(const content::WebContents* source) const {
|
|
||||||
return type_ == BROWSER_WINDOW;
|
|
||||||
}
|
|
||||||
|
|
||||||
void WebContents::HandleKeyboardEvent(
|
void WebContents::HandleKeyboardEvent(
|
||||||
content::WebContents* source,
|
content::WebContents* source,
|
||||||
const content::NativeWebKeyboardEvent& event) {
|
const content::NativeWebKeyboardEvent& event) {
|
||||||
|
|
|
@ -314,12 +314,11 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
||||||
void BeforeUnloadFired(content::WebContents* tab,
|
void BeforeUnloadFired(content::WebContents* tab,
|
||||||
bool proceed,
|
bool proceed,
|
||||||
bool* proceed_to_fire_unload) override;
|
bool* proceed_to_fire_unload) override;
|
||||||
void MoveContents(content::WebContents* source,
|
void SetContentsBounds(content::WebContents* source,
|
||||||
const gfx::Rect& pos) override;
|
const gfx::Rect& pos) override;
|
||||||
void CloseContents(content::WebContents* source) override;
|
void CloseContents(content::WebContents* source) override;
|
||||||
void ActivateContents(content::WebContents* contents) override;
|
void ActivateContents(content::WebContents* contents) override;
|
||||||
void UpdateTargetURL(content::WebContents* source, const GURL& url) override;
|
void UpdateTargetURL(content::WebContents* source, const GURL& url) override;
|
||||||
bool IsPopupOrPanel(const content::WebContents* source) const override;
|
|
||||||
void HandleKeyboardEvent(
|
void HandleKeyboardEvent(
|
||||||
content::WebContents* source,
|
content::WebContents* source,
|
||||||
const content::NativeWebKeyboardEvent& event) override;
|
const content::NativeWebKeyboardEvent& event) override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue