mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Use git apply for applying patch files (issue #1825)
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git render_widget_host_view_guest.cc render_widget_host_view_guest.cc
 | 
			
		||||
diff --git content/browser/frame_host/render_widget_host_view_guest.cc content/browser/frame_host/render_widget_host_view_guest.cc
 | 
			
		||||
index fc720a7..1c30365 100644
 | 
			
		||||
--- render_widget_host_view_guest.cc
 | 
			
		||||
+++ render_widget_host_view_guest.cc
 | 
			
		||||
--- content/browser/frame_host/render_widget_host_view_guest.cc
 | 
			
		||||
+++ content/browser/frame_host/render_widget_host_view_guest.cc
 | 
			
		||||
@@ -247,13 +247,14 @@ void RenderWidgetHostViewGuest::Destroy() {
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
@@ -303,7 +303,7 @@ index d237318..3701bd2 100644
 | 
			
		||||
   content::WebContents* OpenURLFromTab(
 | 
			
		||||
       content::WebContents* source,
 | 
			
		||||
diff --git extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
 | 
			
		||||
index e065104d..ea3f547 100644
 | 
			
		||||
index e065104d..e67ae566e 100644
 | 
			
		||||
--- extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
 | 
			
		||||
+++ extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
 | 
			
		||||
@@ -6,9 +6,9 @@
 | 
			
		||||
@@ -317,11 +317,10 @@ index e065104d..ea3f547 100644
 | 
			
		||||
 struct ContextMenuParams;
 | 
			
		||||
 }  // namespace content
 | 
			
		||||
 
 | 
			
		||||
@@ -21,6 +21,14 @@ class MimeHandlerViewGuestDelegate {
 | 
			
		||||
  public:
 | 
			
		||||
@@ -22,6 +22,14 @@ class MimeHandlerViewGuestDelegate {
 | 
			
		||||
   MimeHandlerViewGuestDelegate() {}
 | 
			
		||||
   virtual ~MimeHandlerViewGuestDelegate() {}
 | 
			
		||||
+  
 | 
			
		||||
 
 | 
			
		||||
+  // Provides an opportunity to supply a custom view implementation.
 | 
			
		||||
+  virtual void OverrideWebContentsCreateParams(
 | 
			
		||||
+      content::WebContents::CreateParams* params) {}
 | 
			
		||||
@@ -329,6 +328,7 @@ index e065104d..ea3f547 100644
 | 
			
		||||
+  // Called when a guest is attached or detached.
 | 
			
		||||
+  virtual void OnGuestAttached(content::WebContentsView* parent_view) {}
 | 
			
		||||
+  virtual void OnGuestDetached(content::WebContentsView* parent_view) {}
 | 
			
		||||
 
 | 
			
		||||
+
 | 
			
		||||
   // Handles context menu, or returns false if unhandled.
 | 
			
		||||
   virtual bool HandleContextMenu(content::WebContents* web_contents,
 | 
			
		||||
                                  const content::ContextMenuParams& params);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git pepper_flash_file_message_filter.cc pepper_flash_file_message_filter.cc
 | 
			
		||||
diff --git content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc
 | 
			
		||||
index 6f03077..c61fed3 100644
 | 
			
		||||
--- pepper_flash_file_message_filter.cc
 | 
			
		||||
+++ pepper_flash_file_message_filter.cc
 | 
			
		||||
--- content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc
 | 
			
		||||
+++ content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc
 | 
			
		||||
@@ -55,7 +55,7 @@ PepperFlashFileMessageFilter::PepperFlashFileMessageFilter(
 | 
			
		||||
     // will construct a bad path and could provide access to the wrong files.
 | 
			
		||||
     // In this case, |plugin_data_directory_| will remain unset and
 | 
			
		||||
 
 | 
			
		||||
@@ -483,7 +483,7 @@ index 3bae07e..12b0a16 100644
 | 
			
		||||
+      const char* product_version = "";
 | 
			
		||||
+      crash_reporter_client->GetProductNameAndVersion(&product_name,
 | 
			
		||||
+                                                      &product_version);
 | 
			
		||||
+ 
 | 
			
		||||
+
 | 
			
		||||
       NSBundle* outer_bundle = base::mac::OuterBundle();
 | 
			
		||||
-      NSString* product = base::mac::ObjCCast<NSString>([outer_bundle
 | 
			
		||||
-          objectForInfoDictionaryKey:base::mac::CFToNSCast(kCFBundleNameKey)]);
 | 
			
		||||
@@ -528,7 +528,7 @@ index 3bae07e..12b0a16 100644
 | 
			
		||||
         arguments.push_back(
 | 
			
		||||
             "--reset-own-crash-exception-port-to-system-default");
 | 
			
		||||
       }
 | 
			
		||||
+      
 | 
			
		||||
+
 | 
			
		||||
+      // Since we're using the same subprocess helper exe we must specify the
 | 
			
		||||
+      // process type.
 | 
			
		||||
+      arguments.push_back(std::string("--type=") + switches::kCrashpadHandler);
 | 
			
		||||
@@ -581,7 +581,7 @@ index 94a350f..61667a8 100644
 | 
			
		||||
-    // reinvoke it with --type=crashpad-handler. Otherwise, we use the
 | 
			
		||||
-    // standalone crashpad_handler.exe (for tests, etc.).
 | 
			
		||||
     std::vector<std::string> start_arguments;
 | 
			
		||||
+    
 | 
			
		||||
+
 | 
			
		||||
+    // Always add --type=crashpad-handler because the value is expected by
 | 
			
		||||
+    // CefExecuteProcess.
 | 
			
		||||
+    start_arguments.push_back(
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git crashpad/client/prune_crash_reports.cc crashpad/client/prune_crash_reports.cc
 | 
			
		||||
diff --git third_party/crashpad/crashpad/client/prune_crash_reports.cc third_party/crashpad/crashpad/client/prune_crash_reports.cc
 | 
			
		||||
index 3aaaeee..d99fcb4 100644
 | 
			
		||||
--- crashpad/client/prune_crash_reports.cc
 | 
			
		||||
+++ crashpad/client/prune_crash_reports.cc
 | 
			
		||||
--- third_party/crashpad/crashpad/client/prune_crash_reports.cc
 | 
			
		||||
+++ third_party/crashpad/crashpad/client/prune_crash_reports.cc
 | 
			
		||||
@@ -67,13 +67,19 @@ void PruneCrashReportDatabase(CrashReportDatabase* database,
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
@@ -25,10 +25,10 @@ index 3aaaeee..d99fcb4 100644
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 static const time_t kSecondsInDay = 60 * 60 * 24;
 | 
			
		||||
diff --git crashpad/client/prune_crash_reports.h crashpad/client/prune_crash_reports.h
 | 
			
		||||
diff --git third_party/crashpad/crashpad/client/prune_crash_reports.h third_party/crashpad/crashpad/client/prune_crash_reports.h
 | 
			
		||||
index 6dac5f3..34f5ee1 100644
 | 
			
		||||
--- crashpad/client/prune_crash_reports.h
 | 
			
		||||
+++ crashpad/client/prune_crash_reports.h
 | 
			
		||||
--- third_party/crashpad/crashpad/client/prune_crash_reports.h
 | 
			
		||||
+++ third_party/crashpad/crashpad/client/prune_crash_reports.h
 | 
			
		||||
@@ -57,7 +57,8 @@ class PruneCondition {
 | 
			
		||||
   //! of 128 MB.
 | 
			
		||||
   //!
 | 
			
		||||
@@ -39,10 +39,10 @@ index 6dac5f3..34f5ee1 100644
 | 
			
		||||
 
 | 
			
		||||
   virtual ~PruneCondition() {}
 | 
			
		||||
 
 | 
			
		||||
diff --git crashpad/client/settings.cc crashpad/client/settings.cc
 | 
			
		||||
diff --git third_party/crashpad/crashpad/client/settings.cc third_party/crashpad/crashpad/client/settings.cc
 | 
			
		||||
index 15d16f2..5e8eadf 100644
 | 
			
		||||
--- crashpad/client/settings.cc
 | 
			
		||||
+++ crashpad/client/settings.cc
 | 
			
		||||
--- third_party/crashpad/crashpad/client/settings.cc
 | 
			
		||||
+++ third_party/crashpad/crashpad/client/settings.cc
 | 
			
		||||
@@ -38,7 +38,7 @@ void ScopedLockedFileHandleTraits::Free(FileHandle handle) {
 | 
			
		||||
 
 | 
			
		||||
 struct Settings::Data {
 | 
			
		||||
@@ -129,10 +129,10 @@ index 15d16f2..5e8eadf 100644
 | 
			
		||||
 // static
 | 
			
		||||
 Settings::ScopedLockedFileHandle Settings::MakeScopedLockedFileHandle(
 | 
			
		||||
     FileHandle file,
 | 
			
		||||
diff --git crashpad/client/settings.h crashpad/client/settings.h
 | 
			
		||||
diff --git third_party/crashpad/crashpad/client/settings.h third_party/crashpad/crashpad/client/settings.h
 | 
			
		||||
index b64f74f..0c3c22e 100644
 | 
			
		||||
--- crashpad/client/settings.h
 | 
			
		||||
+++ crashpad/client/settings.h
 | 
			
		||||
--- third_party/crashpad/crashpad/client/settings.h
 | 
			
		||||
+++ third_party/crashpad/crashpad/client/settings.h
 | 
			
		||||
@@ -102,6 +102,11 @@ class Settings {
 | 
			
		||||
   //!     error logged.
 | 
			
		||||
   bool SetLastUploadAttemptTime(time_t time);
 | 
			
		||||
@@ -145,10 +145,10 @@ index b64f74f..0c3c22e 100644
 | 
			
		||||
  private:
 | 
			
		||||
   struct Data;
 | 
			
		||||
 
 | 
			
		||||
diff --git crashpad/handler/crash_report_upload_thread.h crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
diff --git third_party/crashpad/crashpad/handler/crash_report_upload_thread.h third_party/crashpad/crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
index 14debac..c25c653 100644
 | 
			
		||||
--- crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
+++ crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
--- third_party/crashpad/crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
+++ third_party/crashpad/crashpad/handler/crash_report_upload_thread.h
 | 
			
		||||
@@ -78,7 +78,7 @@ class CrashReportUploadThread : public WorkerThread::Delegate {
 | 
			
		||||
   //! This method may be called from any thread.
 | 
			
		||||
   void ReportPending();
 | 
			
		||||
@@ -176,10 +176,10 @@ index 14debac..c25c653 100644
 | 
			
		||||
 
 | 
			
		||||
   //! \brief Attempts to upload a crash report.
 | 
			
		||||
   //!
 | 
			
		||||
diff --git crashpad/handler/handler_main.cc crashpad/handler/handler_main.cc
 | 
			
		||||
diff --git third_party/crashpad/crashpad/handler/handler_main.cc third_party/crashpad/crashpad/handler/handler_main.cc
 | 
			
		||||
index 641bf0f..3a86eb3 100644
 | 
			
		||||
--- crashpad/handler/handler_main.cc
 | 
			
		||||
+++ crashpad/handler/handler_main.cc
 | 
			
		||||
--- third_party/crashpad/crashpad/handler/handler_main.cc
 | 
			
		||||
+++ third_party/crashpad/crashpad/handler/handler_main.cc
 | 
			
		||||
@@ -35,8 +35,10 @@
 | 
			
		||||
 #include "base/metrics/persistent_histogram_allocator.h"
 | 
			
		||||
 #include "base/scoped_generic.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git font_family_cache.h font_family_cache.h
 | 
			
		||||
diff --git chrome/browser/font_family_cache.h chrome/browser/font_family_cache.h
 | 
			
		||||
index 743448d..0a9f350 100644
 | 
			
		||||
--- font_family_cache.h
 | 
			
		||||
+++ font_family_cache.h
 | 
			
		||||
--- chrome/browser/font_family_cache.h
 | 
			
		||||
+++ chrome/browser/font_family_cache.h
 | 
			
		||||
@@ -20,6 +20,8 @@ class Profile;
 | 
			
		||||
 
 | 
			
		||||
 FORWARD_DECLARE_TEST(FontFamilyCacheTest, Caching);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,17 +1,16 @@
 | 
			
		||||
diff --git resource_ids resource_ids
 | 
			
		||||
index 4e3fd2d..447c1f5 100644
 | 
			
		||||
--- resource_ids
 | 
			
		||||
+++ resource_ids
 | 
			
		||||
@@ -361,5 +361,12 @@
 | 
			
		||||
   # Thinking about appending to the end?
 | 
			
		||||
diff --git tools/gritsettings/resource_ids tools/gritsettings/resource_ids
 | 
			
		||||
index 4e3fd2d..2cf62da 100644
 | 
			
		||||
--- tools/gritsettings/resource_ids
 | 
			
		||||
+++ tools/gritsettings/resource_ids
 | 
			
		||||
@@ -362,4 +362,11 @@
 | 
			
		||||
   # Please read the header and find the right section above instead.
 | 
			
		||||
 
 | 
			
		||||
   # Resource ids starting at 31000 are reserved for projects built on Chromium.
 | 
			
		||||
+
 | 
			
		||||
+  "cef/libcef/resources/cef_resources.grd": {
 | 
			
		||||
+    "includes": [31500],
 | 
			
		||||
+  },
 | 
			
		||||
+  "cef/libcef/resources/cef_strings.grd": {
 | 
			
		||||
+    "messages": [32000],
 | 
			
		||||
+  },
 | 
			
		||||
+
 | 
			
		||||
   # Resource ids starting at 31000 are reserved for projects built on Chromium.
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git input_method_win.cc input_method_win.cc
 | 
			
		||||
diff --git ui/base/ime/input_method_win.cc ui/base/ime/input_method_win.cc
 | 
			
		||||
index e2bb528..3e851e5 100644
 | 
			
		||||
--- input_method_win.cc
 | 
			
		||||
+++ input_method_win.cc
 | 
			
		||||
--- ui/base/ime/input_method_win.cc
 | 
			
		||||
+++ ui/base/ime/input_method_win.cc
 | 
			
		||||
@@ -682,8 +682,9 @@ bool InputMethodWin::IsWindowFocused(const TextInputClient* client) const {
 | 
			
		||||
   // receiving keyboard input as long as it is an active window. This works well
 | 
			
		||||
   // even when the |attached_window_handle| becomes active but has not received
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git message_loop.cc message_loop.cc
 | 
			
		||||
diff --git base/message_loop/message_loop.cc base/message_loop/message_loop.cc
 | 
			
		||||
index 3d55920..721aca1 100644
 | 
			
		||||
--- message_loop.cc
 | 
			
		||||
+++ message_loop.cc
 | 
			
		||||
--- base/message_loop/message_loop.cc
 | 
			
		||||
+++ base/message_loop/message_loop.cc
 | 
			
		||||
@@ -96,12 +96,6 @@ MessageLoop::~MessageLoop() {
 | 
			
		||||
   // may be current.
 | 
			
		||||
   DCHECK((pump_ && current() == this) || (!pump_ && current() != this));
 | 
			
		||||
@@ -25,10 +25,10 @@ index 3d55920..721aca1 100644
 | 
			
		||||
       pump_factory_(pump_factory),
 | 
			
		||||
       run_loop_(nullptr),
 | 
			
		||||
       current_pending_task_(nullptr),
 | 
			
		||||
diff --git message_loop.h message_loop.h
 | 
			
		||||
diff --git base/message_loop/message_loop.h base/message_loop/message_loop.h
 | 
			
		||||
index 2ef4537..9c657f8 100644
 | 
			
		||||
--- message_loop.h
 | 
			
		||||
+++ message_loop.h
 | 
			
		||||
--- base/message_loop/message_loop.h
 | 
			
		||||
+++ base/message_loop/message_loop.h
 | 
			
		||||
@@ -303,6 +303,16 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
 | 
			
		||||
   void AddTaskObserver(TaskObserver* task_observer);
 | 
			
		||||
   void RemoveTaskObserver(TaskObserver* task_observer);
 | 
			
		||||
@@ -59,10 +59,10 @@ index 2ef4537..9c657f8 100644
 | 
			
		||||
   // pump_factory_.Run() is called to create a message pump for this loop
 | 
			
		||||
   // if type_ is TYPE_CUSTOM and pump_ is null.
 | 
			
		||||
   MessagePumpFactoryCallback pump_factory_;
 | 
			
		||||
diff --git message_pump_win.cc message_pump_win.cc
 | 
			
		||||
diff --git base/message_loop/message_pump_win.cc base/message_loop/message_pump_win.cc
 | 
			
		||||
index d52c785..a43b5b3 100644
 | 
			
		||||
--- message_pump_win.cc
 | 
			
		||||
+++ message_pump_win.cc
 | 
			
		||||
--- base/message_loop/message_pump_win.cc
 | 
			
		||||
+++ base/message_loop/message_pump_win.cc
 | 
			
		||||
@@ -366,20 +366,28 @@ bool MessagePumpForUI::ProcessMessageHelper(const MSG& msg) {
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git url_request.h url_request.h
 | 
			
		||||
diff --git net/url_request/url_request.h net/url_request/url_request.h
 | 
			
		||||
index e1406f3..ed9aa91 100644
 | 
			
		||||
--- url_request.h
 | 
			
		||||
+++ url_request.h
 | 
			
		||||
--- net/url_request/url_request.h
 | 
			
		||||
+++ net/url_request/url_request.h
 | 
			
		||||
@@ -651,10 +651,11 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
 | 
			
		||||
   // Returns the error status of the request.
 | 
			
		||||
   // Do not use! Going to be protected!
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git public/common/common_param_traits_macros.h public/common/common_param_traits_macros.h
 | 
			
		||||
diff --git content/public/common/common_param_traits_macros.h content/public/common/common_param_traits_macros.h
 | 
			
		||||
index 3dd2e75..9f61aad 100644
 | 
			
		||||
--- public/common/common_param_traits_macros.h
 | 
			
		||||
+++ public/common/common_param_traits_macros.h
 | 
			
		||||
--- content/public/common/common_param_traits_macros.h
 | 
			
		||||
+++ content/public/common/common_param_traits_macros.h
 | 
			
		||||
@@ -201,6 +201,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::WebPreferences)
 | 
			
		||||
   IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes)
 | 
			
		||||
   IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale)
 | 
			
		||||
@@ -10,10 +10,10 @@ index 3dd2e75..9f61aad 100644
 | 
			
		||||
   IPC_STRUCT_TRAITS_MEMBER(cookie_enabled)
 | 
			
		||||
   IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop)
 | 
			
		||||
   IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled)
 | 
			
		||||
diff --git public/common/web_preferences.cc public/common/web_preferences.cc
 | 
			
		||||
diff --git content/public/common/web_preferences.cc content/public/common/web_preferences.cc
 | 
			
		||||
index 72f7bd8..850e591 100644
 | 
			
		||||
--- public/common/web_preferences.cc
 | 
			
		||||
+++ public/common/web_preferences.cc
 | 
			
		||||
--- content/public/common/web_preferences.cc
 | 
			
		||||
+++ content/public/common/web_preferences.cc
 | 
			
		||||
@@ -172,6 +172,7 @@ WebPreferences::WebPreferences()
 | 
			
		||||
       spatial_navigation_enabled(false),
 | 
			
		||||
       use_solid_color_scrollbars(false),
 | 
			
		||||
@@ -22,10 +22,10 @@ index 72f7bd8..850e591 100644
 | 
			
		||||
       v8_cache_options(V8_CACHE_OPTIONS_DEFAULT),
 | 
			
		||||
       inert_visual_viewport(false),
 | 
			
		||||
       record_whole_document(false),
 | 
			
		||||
diff --git public/common/web_preferences.h public/common/web_preferences.h
 | 
			
		||||
diff --git content/public/common/web_preferences.h content/public/common/web_preferences.h
 | 
			
		||||
index ae9756c..d0f2f1b 100644
 | 
			
		||||
--- public/common/web_preferences.h
 | 
			
		||||
+++ public/common/web_preferences.h
 | 
			
		||||
--- content/public/common/web_preferences.h
 | 
			
		||||
+++ content/public/common/web_preferences.h
 | 
			
		||||
@@ -184,6 +184,7 @@ struct CONTENT_EXPORT WebPreferences {
 | 
			
		||||
   bool spatial_navigation_enabled;
 | 
			
		||||
   bool use_solid_color_scrollbars;
 | 
			
		||||
@@ -34,10 +34,10 @@ index ae9756c..d0f2f1b 100644
 | 
			
		||||
   V8CacheOptions v8_cache_options;
 | 
			
		||||
   bool inert_visual_viewport;
 | 
			
		||||
   bool record_whole_document;
 | 
			
		||||
diff --git renderer/render_view_impl.cc renderer/render_view_impl.cc
 | 
			
		||||
diff --git content/renderer/render_view_impl.cc content/renderer/render_view_impl.cc
 | 
			
		||||
index 7d6113c..d600026 100644
 | 
			
		||||
--- renderer/render_view_impl.cc
 | 
			
		||||
+++ renderer/render_view_impl.cc
 | 
			
		||||
--- content/renderer/render_view_impl.cc
 | 
			
		||||
+++ content/renderer/render_view_impl.cc
 | 
			
		||||
@@ -1383,6 +1383,8 @@ void RenderViewImpl::ApplyWebPreferencesInternal(
 | 
			
		||||
     blink::WebView* web_view,
 | 
			
		||||
     CompositorDependencies* compositor_deps) {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git render_view_host_impl.h render_view_host_impl.h
 | 
			
		||||
diff --git content/browser/renderer_host/render_view_host_impl.h content/browser/renderer_host/render_view_host_impl.h
 | 
			
		||||
index bcc702b..3753c50 100644
 | 
			
		||||
--- render_view_host_impl.h
 | 
			
		||||
+++ render_view_host_impl.h
 | 
			
		||||
--- content/browser/renderer_host/render_view_host_impl.h
 | 
			
		||||
+++ content/browser/renderer_host/render_view_host_impl.h
 | 
			
		||||
@@ -154,6 +154,7 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
 | 
			
		||||
   void set_is_swapped_out(bool is_swapped_out) {
 | 
			
		||||
     is_swapped_out_ = is_swapped_out;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git render_widget_host_view_mac.mm render_widget_host_view_mac.mm
 | 
			
		||||
diff --git content/browser/renderer_host/render_widget_host_view_mac.mm content/browser/renderer_host/render_widget_host_view_mac.mm
 | 
			
		||||
index 896170a..4beadf9 100644
 | 
			
		||||
--- render_widget_host_view_mac.mm
 | 
			
		||||
+++ render_widget_host_view_mac.mm
 | 
			
		||||
--- content/browser/renderer_host/render_widget_host_view_mac.mm
 | 
			
		||||
+++ content/browser/renderer_host/render_widget_host_view_mac.mm
 | 
			
		||||
@@ -453,9 +453,6 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget,
 | 
			
		||||
   // Paint this view host with |background_color_| when there is no content
 | 
			
		||||
   // ready to draw.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git renderer_preferences_util.cc renderer_preferences_util.cc
 | 
			
		||||
diff --git chrome/browser/renderer_preferences_util.cc chrome/browser/renderer_preferences_util.cc
 | 
			
		||||
index 7296a04..c702d31 100644
 | 
			
		||||
--- renderer_preferences_util.cc
 | 
			
		||||
+++ renderer_preferences_util.cc
 | 
			
		||||
--- chrome/browser/renderer_preferences_util.cc
 | 
			
		||||
+++ chrome/browser/renderer_preferences_util.cc
 | 
			
		||||
@@ -32,7 +32,8 @@
 | 
			
		||||
 #include "ui/base/cocoa/defaults_utils.h"
 | 
			
		||||
 #endif
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git supports_user_data.h supports_user_data.h
 | 
			
		||||
diff --git base/supports_user_data.h base/supports_user_data.h
 | 
			
		||||
index 233ce38..02e690b 100644
 | 
			
		||||
--- supports_user_data.h
 | 
			
		||||
+++ supports_user_data.h
 | 
			
		||||
--- base/supports_user_data.h
 | 
			
		||||
+++ base/supports_user_data.h
 | 
			
		||||
@@ -39,10 +39,10 @@ class BASE_EXPORT SupportsUserData {
 | 
			
		||||
   // delete the object if it is changed or the object is destroyed.
 | 
			
		||||
   // TODO: remove the raw ptr version of SetUserData once everything uses
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git os_exchange_data_provider_aurax11.cc os_exchange_data_provider_aurax11.cc
 | 
			
		||||
diff --git ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
 | 
			
		||||
index 9b93593..fe0f44a 100644
 | 
			
		||||
--- os_exchange_data_provider_aurax11.cc
 | 
			
		||||
+++ os_exchange_data_provider_aurax11.cc
 | 
			
		||||
--- ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
 | 
			
		||||
+++ ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
 | 
			
		||||
@@ -162,7 +162,8 @@ void OSExchangeDataProviderAuraX11::SetURL(const GURL& url,
 | 
			
		||||
                        mem);
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git underlay_opengl_hosting_window.h underlay_opengl_hosting_window.h
 | 
			
		||||
diff --git ui/base/cocoa/underlay_opengl_hosting_window.h ui/base/cocoa/underlay_opengl_hosting_window.h
 | 
			
		||||
index d673c31..806d134 100644
 | 
			
		||||
--- underlay_opengl_hosting_window.h
 | 
			
		||||
+++ underlay_opengl_hosting_window.h
 | 
			
		||||
--- ui/base/cocoa/underlay_opengl_hosting_window.h
 | 
			
		||||
+++ ui/base/cocoa/underlay_opengl_hosting_window.h
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
 // Common base class for windows that host a OpenGL surface that renders under
 | 
			
		||||
 // the window. Previously contained methods related to hole punching, now just
 | 
			
		||||
 
 | 
			
		||||
@@ -258,7 +258,7 @@ index db99e54..7c67a04 100644
 | 
			
		||||
   // Whether this item should be displayed with the normal text color, even if
 | 
			
		||||
   // it's disabled.
 | 
			
		||||
   virtual bool GetShouldUseNormalForegroundColor(int command_id) const;
 | 
			
		||||
+  
 | 
			
		||||
+
 | 
			
		||||
+  // Override the text color of a given menu item dependent on the |command_id|
 | 
			
		||||
+  // and its |is_hovered| state. |is_minor| will be true for accelerator text.
 | 
			
		||||
+  // Returns true if it chooses to override the color.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git Source/core/dom/DOMImplementation.cpp Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/core/dom/DOMImplementation.cpp third_party/WebKit/Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
index 8aab9bb..e3286f6 100644
 | 
			
		||||
--- Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
+++ Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
--- third_party/WebKit/Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/core/dom/DOMImplementation.cpp
 | 
			
		||||
@@ -241,10 +241,11 @@ Document* DOMImplementation::createDocument(const String& type,
 | 
			
		||||
     // For that reason, the origin must be retrieved directly from init.url().
 | 
			
		||||
     if (init.GetFrame()->IsMainFrame()) {
 | 
			
		||||
@@ -16,10 +16,10 @@ index 8aab9bb..e3286f6 100644
 | 
			
		||||
                                                         ->Tree()
 | 
			
		||||
                                                         .Top()
 | 
			
		||||
                                                         ->GetSecurityContext()
 | 
			
		||||
diff --git Source/core/frame/LocalFrame.cpp Source/core/frame/LocalFrame.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/core/frame/LocalFrame.cpp third_party/WebKit/Source/core/frame/LocalFrame.cpp
 | 
			
		||||
index b64d75d..869b45d 100644
 | 
			
		||||
--- Source/core/frame/LocalFrame.cpp
 | 
			
		||||
+++ Source/core/frame/LocalFrame.cpp
 | 
			
		||||
--- third_party/WebKit/Source/core/frame/LocalFrame.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/core/frame/LocalFrame.cpp
 | 
			
		||||
@@ -927,7 +927,7 @@ ContentSettingsClient* LocalFrame::GetContentSettingsClient() {
 | 
			
		||||
 PluginData* LocalFrame::GetPluginData() const {
 | 
			
		||||
   if (!Loader().AllowPlugins(kNotAboutToInstantiatePlugin))
 | 
			
		||||
@@ -29,10 +29,10 @@ index b64d75d..869b45d 100644
 | 
			
		||||
       Tree().Top()->GetSecurityContext()->GetSecurityOrigin());
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
diff --git Source/core/page/Page.cpp Source/core/page/Page.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/core/page/Page.cpp third_party/WebKit/Source/core/page/Page.cpp
 | 
			
		||||
index 941a30c..2c5764c 100644
 | 
			
		||||
--- Source/core/page/Page.cpp
 | 
			
		||||
+++ Source/core/page/Page.cpp
 | 
			
		||||
--- third_party/WebKit/Source/core/page/Page.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/core/page/Page.cpp
 | 
			
		||||
@@ -289,16 +289,30 @@ void Page::RefreshPlugins() {
 | 
			
		||||
 
 | 
			
		||||
   for (const Page* page : AllPages()) {
 | 
			
		||||
@@ -71,10 +71,10 @@ index 941a30c..2c5764c 100644
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 void Page::SetValidationMessageClient(ValidationMessageClient* client) {
 | 
			
		||||
diff --git Source/core/page/Page.h Source/core/page/Page.h
 | 
			
		||||
diff --git third_party/WebKit/Source/core/page/Page.h third_party/WebKit/Source/core/page/Page.h
 | 
			
		||||
index e644faa..2fe0d37 100644
 | 
			
		||||
--- Source/core/page/Page.h
 | 
			
		||||
+++ Source/core/page/Page.h
 | 
			
		||||
--- third_party/WebKit/Source/core/page/Page.h
 | 
			
		||||
+++ third_party/WebKit/Source/core/page/Page.h
 | 
			
		||||
@@ -132,7 +132,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
 | 
			
		||||
   ViewportDescription GetViewportDescription() const;
 | 
			
		||||
 
 | 
			
		||||
@@ -95,10 +95,10 @@ index e644faa..2fe0d37 100644
 | 
			
		||||
 
 | 
			
		||||
   EditorClient* const editor_client_;
 | 
			
		||||
   SpellCheckerClient* const spell_checker_client_;
 | 
			
		||||
diff --git Source/platform/plugins/PluginData.cpp Source/platform/plugins/PluginData.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/platform/plugins/PluginData.cpp third_party/WebKit/Source/platform/plugins/PluginData.cpp
 | 
			
		||||
index 03618f6..5ac59e8 100644
 | 
			
		||||
--- Source/platform/plugins/PluginData.cpp
 | 
			
		||||
+++ Source/platform/plugins/PluginData.cpp
 | 
			
		||||
--- third_party/WebKit/Source/platform/plugins/PluginData.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/platform/plugins/PluginData.cpp
 | 
			
		||||
@@ -30,11 +30,12 @@
 | 
			
		||||
 
 | 
			
		||||
 namespace blink {
 | 
			
		||||
@@ -125,10 +125,10 @@ index 03618f6..5ac59e8 100644
 | 
			
		||||
                                      &builder);
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
diff --git Source/platform/plugins/PluginData.h Source/platform/plugins/PluginData.h
 | 
			
		||||
diff --git third_party/WebKit/Source/platform/plugins/PluginData.h third_party/WebKit/Source/platform/plugins/PluginData.h
 | 
			
		||||
index cdf3381..671f17c 100644
 | 
			
		||||
--- Source/platform/plugins/PluginData.h
 | 
			
		||||
+++ Source/platform/plugins/PluginData.h
 | 
			
		||||
--- third_party/WebKit/Source/platform/plugins/PluginData.h
 | 
			
		||||
+++ third_party/WebKit/Source/platform/plugins/PluginData.h
 | 
			
		||||
@@ -52,8 +52,9 @@ class PLATFORM_EXPORT PluginData : public RefCounted<PluginData> {
 | 
			
		||||
   WTF_MAKE_NONCOPYABLE(PluginData);
 | 
			
		||||
 
 | 
			
		||||
@@ -156,10 +156,10 @@ index cdf3381..671f17c 100644
 | 
			
		||||
   RefPtr<SecurityOrigin> main_frame_origin_;
 | 
			
		||||
 };
 | 
			
		||||
 
 | 
			
		||||
diff --git public/platform/Platform.h public/platform/Platform.h
 | 
			
		||||
diff --git third_party/WebKit/public/platform/Platform.h third_party/WebKit/public/platform/Platform.h
 | 
			
		||||
index eab1ca5..6657878 100644
 | 
			
		||||
--- public/platform/Platform.h
 | 
			
		||||
+++ public/platform/Platform.h
 | 
			
		||||
--- third_party/WebKit/public/platform/Platform.h
 | 
			
		||||
+++ third_party/WebKit/public/platform/Platform.h
 | 
			
		||||
@@ -365,6 +365,7 @@ class BLINK_PLATFORM_EXPORT Platform {
 | 
			
		||||
   // satisfy this call. mainFrameOrigin is used by the browser process to
 | 
			
		||||
   // filter plugins from the plugin list based on content settings.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git Source/web/ChromeClientImpl.cpp Source/web/ChromeClientImpl.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/web/ChromeClientImpl.cpp third_party/WebKit/Source/web/ChromeClientImpl.cpp
 | 
			
		||||
index ba81ee3..648d7ce 100644
 | 
			
		||||
--- Source/web/ChromeClientImpl.cpp
 | 
			
		||||
+++ Source/web/ChromeClientImpl.cpp
 | 
			
		||||
--- third_party/WebKit/Source/web/ChromeClientImpl.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/web/ChromeClientImpl.cpp
 | 
			
		||||
@@ -908,7 +908,7 @@ bool ChromeClientImpl::HasOpenedPopup() const {
 | 
			
		||||
 PopupMenu* ChromeClientImpl::OpenPopupMenu(LocalFrame& frame,
 | 
			
		||||
                                            HTMLSelectElement& select) {
 | 
			
		||||
@@ -11,10 +11,10 @@ index ba81ee3..648d7ce 100644
 | 
			
		||||
     return new ExternalPopupMenu(frame, select, *web_view_);
 | 
			
		||||
 
 | 
			
		||||
   DCHECK(RuntimeEnabledFeatures::pagePopupEnabled());
 | 
			
		||||
diff --git Source/web/WebViewImpl.cpp Source/web/WebViewImpl.cpp
 | 
			
		||||
diff --git third_party/WebKit/Source/web/WebViewImpl.cpp third_party/WebKit/Source/web/WebViewImpl.cpp
 | 
			
		||||
index 16ac66b..7053b54 100644
 | 
			
		||||
--- Source/web/WebViewImpl.cpp
 | 
			
		||||
+++ Source/web/WebViewImpl.cpp
 | 
			
		||||
--- third_party/WebKit/Source/web/WebViewImpl.cpp
 | 
			
		||||
+++ third_party/WebKit/Source/web/WebViewImpl.cpp
 | 
			
		||||
@@ -355,6 +355,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client,
 | 
			
		||||
       enable_fake_page_scale_animation_for_testing_(false),
 | 
			
		||||
       fake_page_scale_animation_page_scale_factor_(0),
 | 
			
		||||
@@ -38,10 +38,10 @@ index 16ac66b..7053b54 100644
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 void WebViewImpl::SetBackgroundColorOverride(WebColor color) {
 | 
			
		||||
diff --git Source/web/WebViewImpl.h Source/web/WebViewImpl.h
 | 
			
		||||
diff --git third_party/WebKit/Source/web/WebViewImpl.h third_party/WebKit/Source/web/WebViewImpl.h
 | 
			
		||||
index a22ef37..33dbab4 100644
 | 
			
		||||
--- Source/web/WebViewImpl.h
 | 
			
		||||
+++ Source/web/WebViewImpl.h
 | 
			
		||||
--- third_party/WebKit/Source/web/WebViewImpl.h
 | 
			
		||||
+++ third_party/WebKit/Source/web/WebViewImpl.h
 | 
			
		||||
@@ -362,7 +362,8 @@ class WEB_EXPORT WebViewImpl final
 | 
			
		||||
 
 | 
			
		||||
   // Returns true if popup menus should be rendered by the browser, false if
 | 
			
		||||
@@ -61,10 +61,10 @@ index a22ef37..33dbab4 100644
 | 
			
		||||
   float compositor_device_scale_factor_override_;
 | 
			
		||||
   TransformationMatrix device_emulation_transform_;
 | 
			
		||||
 
 | 
			
		||||
diff --git public/web/WebView.h public/web/WebView.h
 | 
			
		||||
diff --git third_party/WebKit/public/web/WebView.h third_party/WebKit/public/web/WebView.h
 | 
			
		||||
index e811392..d6d5bf8 100644
 | 
			
		||||
--- public/web/WebView.h
 | 
			
		||||
+++ public/web/WebView.h
 | 
			
		||||
--- third_party/WebKit/public/web/WebView.h
 | 
			
		||||
+++ third_party/WebKit/public/web/WebView.h
 | 
			
		||||
@@ -403,6 +403,7 @@ class WebView : protected WebWidget {
 | 
			
		||||
 
 | 
			
		||||
   // Sets whether select popup menus should be rendered by the browser.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
diff --git contrib/minizip/unzip.c contrib/minizip/unzip.c
 | 
			
		||||
diff --git third_party/zlib/contrib/minizip/unzip.c third_party/zlib/contrib/minizip/unzip.c
 | 
			
		||||
index 199b472..be42478 100644
 | 
			
		||||
--- contrib/minizip/unzip.c
 | 
			
		||||
+++ contrib/minizip/unzip.c
 | 
			
		||||
--- third_party/zlib/contrib/minizip/unzip.c
 | 
			
		||||
+++ third_party/zlib/contrib/minizip/unzip.c
 | 
			
		||||
@@ -69,7 +69,7 @@
 | 
			
		||||
 #include <string.h>
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user