[cef][wam] Make the recipe work with official chromium release tarballs
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / cef / 0007-Add-the-SetActivateRegion-method.patch
@@ -1,7 +1,7 @@
-From fcbb9bc7c390f2b9ab54c9f8996140ff83b46538 Mon Sep 17 00:00:00 2001
+From 6515114202a98f81950687b6656151fa7cfd5ab6 Mon Sep 17 00:00:00 2001
 From: Roger Zanoni <rzanoni@igalia.com>
 Date: Sun, 2 Jul 2023 12:08:59 +0200
-Subject: [PATCH 08/10] Add the SetActivateRegion method
+Subject: [PATCH 7/9] Add the SetActivateRegion method
 
 ---
  include/views/cef_window.h             |  6 ++++++
@@ -12,10 +12,10 @@ Subject: [PATCH 08/10] Add the SetActivateRegion method
  5 files changed, 32 insertions(+)
 
 diff --git a/include/views/cef_window.h b/include/views/cef_window.h
-index 063529964..52ccb7dc5 100644
+index c34963302..9f196a1e7 100644
 --- a/include/views/cef_window.h
 +++ b/include/views/cef_window.h
-@@ -387,6 +387,12 @@ class CefWindow : public CefPanel {
+@@ -405,6 +405,12 @@ class CefWindow : public CefPanel {
    /*--cef()--*/
    virtual bool IsSurfaceConfigured() = 0;
  
@@ -29,10 +29,10 @@ index 063529964..52ccb7dc5 100644
  };
  
 diff --git a/libcef/browser/views/view_util.h b/libcef/browser/views/view_util.h
-index 20b97038b..76c023254 100644
+index bf657fd39..50037a198 100644
 --- a/libcef/browser/views/view_util.h
 +++ b/libcef/browser/views/view_util.h
-@@ -149,6 +149,7 @@ void AglSetAppReady(views::Widget* widget);
+@@ -173,6 +173,7 @@ void AglSetAppReady(views::Widget* widget);
  void AglSetBackGroundApp(views::Widget* widget);
  void AglSetPanelApp(views::Widget* widget, uint32_t edge);
  bool IsSurfaceConfigured(views::Widget* widget);
@@ -41,10 +41,10 @@ index 20b97038b..76c023254 100644
  // -----------------
  
 diff --git a/libcef/browser/views/view_util_aura.cc b/libcef/browser/views/view_util_aura.cc
-index b5b4f414b..96e44dbb6 100644
+index 2946a2d81..bf435078d 100644
 --- a/libcef/browser/views/view_util_aura.cc
 +++ b/libcef/browser/views/view_util_aura.cc
-@@ -101,6 +101,23 @@ bool IsSurfaceConfigured(views::Widget* widget) {
+@@ -120,6 +120,23 @@ bool IsSurfaceConfigured(views::Widget* widget) {
    }
  }
  
@@ -69,10 +69,10 @@ index b5b4f414b..96e44dbb6 100644
  
  }  // namespace view_util
 diff --git a/libcef/browser/views/window_impl.cc b/libcef/browser/views/window_impl.cc
-index 1b5d196ab..485943ec6 100644
+index 8edac98b5..12858364e 100644
 --- a/libcef/browser/views/window_impl.cc
 +++ b/libcef/browser/views/window_impl.cc
-@@ -548,6 +548,13 @@ bool CefWindowImpl::IsSurfaceConfigured() {
+@@ -795,4 +795,11 @@ bool CefWindowImpl::IsSurfaceConfigured() {
    return view_util::IsSurfaceConfigured(widget_);
  }
  
@@ -84,13 +84,11 @@ index 1b5d196ab..485943ec6 100644
 +}
 +
  // -----------------
- void CefWindowImpl::SendKeyPress(int key_code, uint32 event_flags) {
 diff --git a/libcef/browser/views/window_impl.h b/libcef/browser/views/window_impl.h
-index 4ab77dbe6..89c136873 100644
+index 7f7b47e1a..aaca3c281 100644
 --- a/libcef/browser/views/window_impl.h
 +++ b/libcef/browser/views/window_impl.h
-@@ -140,6 +140,7 @@ class CefWindowImpl
+@@ -142,6 +142,7 @@ class CefWindowImpl
    void AglSetBackGroundApp() override;
    void AglSetPanelApp(uint32_t edge) override;
    bool IsSurfaceConfigured() override;
@@ -99,5 +97,5 @@ index 4ab77dbe6..89c136873 100644
    // -----------------
  
 -- 
-2.39.2
+2.42.0