mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Rename WebContentsDelegate methods
https://chromium-review.googlesource.com/c/chromium/src/+/1085427
This commit is contained in:
@@ -587,8 +587,8 @@ void WebContents::BeforeUnloadFired(content::WebContents* tab,
|
||||
*proceed_to_fire_unload = true;
|
||||
}
|
||||
|
||||
void WebContents::MoveContents(content::WebContents* source,
|
||||
const gfx::Rect& pos) {
|
||||
void WebContents::SetContentsBounds(content::WebContents* source,
|
||||
const gfx::Rect& pos) {
|
||||
Emit("move", pos);
|
||||
}
|
||||
|
||||
@@ -612,10 +612,6 @@ void WebContents::UpdateTargetURL(content::WebContents* source,
|
||||
Emit("update-target-url", url);
|
||||
}
|
||||
|
||||
bool WebContents::IsPopupOrPanel(const content::WebContents* source) const {
|
||||
return type_ == BROWSER_WINDOW;
|
||||
}
|
||||
|
||||
void WebContents::HandleKeyboardEvent(
|
||||
content::WebContents* source,
|
||||
const content::NativeWebKeyboardEvent& event) {
|
||||
|
||||
Reference in New Issue
Block a user