if (process.platform === 'linux' && process.type === 'renderer') {
  // On Linux we could not access clipboard in renderer process.
  module.exports = require('electron').remote.clipboard
} else {
  const clipboard = process.atomBinding('clipboard')

  // Read/write to find pasteboard over IPC since only main process is notified
  // of changes
  if (process.platform === 'darwin' && process.type === 'renderer') {
    clipboard.readFindText = require('electron').remote.clipboard.readFindText
    clipboard.writeFindText = require('electron').remote.clipboard.writeFindText
  }

  module.exports = clipboard
}

@@ -190,16 +190,58 @@
  else %7B%0A
+  const %7Bdeprecate%7D = require('electron')%0A
   const 
@@ -286,16 +286,885 @@
 oard')%0A%0A
+  // TODO(codebytere): remove in 3.0%0A  clipboard.readHtml = function () %7B%0A    if (!process.noDeprecations) %7B%0A      deprecate.warn('clipboard.readHtml', 'clipboard.readHTML')%0A    %7D%0A    return clipboard.readHTML()%0A  %7D%0A%0A  // TODO(codebytere): remove in 3.0%0A  clipboard.writeHtml = function () %7B%0A    if (!process.noDeprecations) %7B%0A      deprecate.warn('clipboard.writeHtml', 'clipboard.writeHTML')%0A    %7D%0A    return clipboard.writeHTML()%0A  %7D%0A%0A  // TODO(codebytere): remove in 3.0%0A  clipboard.readRtf = function () %7B%0A    if (!process.noDeprecations) %7B%0A      deprecate.warn('clipboard.readRtf', 'clipboard.writeRTF')%0A    %7D%0A    return clipboard.readRTF()%0A  %7D%0A%0A  // TODO(codebytere): remove in 3.0%0A  clipboard.writeRtf = function () %7B%0A    if (!process.noDeprecations) %7B%0A      deprecate.warn('clipboard.writeRtf', 'clipboard.writeRTF')%0A    %7D%0A    return clipboard.writeRTF()%0A  %7D%0A%0A
   // Rea

Add deprecation warnings fot html/rtf methods (#11995)